Page 1 of 1

Adding new allowed host for unix machine

Posted: Tue Apr 12, 2016 5:59 pm
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.

Re: Adding new allowed host for unix machine

Posted: Tue Apr 12, 2016 6:46 pm
by gormank
Sorry, my reply was totally wrong...

Re: Adding new allowed host for unix machine

Posted: Tue Apr 12, 2016 11:47 pm
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

Re: Adding new allowed host for unix machine

Posted: Wed Apr 13, 2016 7:27 pm
by stebbo
Hi Box,

thanks for that. All is good now.

Cheers,
Chris.