Adding new allowed host for unix machine

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
stebbo
Posts: 75
Joined: Sat Aug 04, 2012 9:13 pm

Adding new allowed host for unix machine

Post by stebbo »

Hello,

apologies if this is written somewhere obvious but I've done a bit of a search and can't seem to find it.

I am migrating our nagios monitoring to a new server with a new IP address. I've managed to update the allowed hosts in my window machines, but can't seem to find what file to edit on our linux machines that are currently being monitored.

What file (and what is the path) that I need to modify to allow the new IP address to monitor a linux host?

The host in question is a Centos box and we have installed the nrpe agent, and previously run the full install script.

Cheers,
Chris.
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Adding new allowed host for unix machine

Post by gormank »

Sorry, my reply was totally wrong...
Last edited by gormank on Wed Apr 13, 2016 12:00 am, edited 1 time in total.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Adding new allowed host for unix machine

Post by Box293 »

Also check this file:

/etc/xinetd.d/nrpe

If this file exists, then most likely this is the file you need to update. Then:

Code: Select all

service xinetd restart
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
stebbo
Posts: 75
Joined: Sat Aug 04, 2012 9:13 pm

Re: Adding new allowed host for unix machine

Post by stebbo »

Hi Box,

thanks for that. All is good now.

Cheers,
Chris.
Locked