Page 1 of 1

about allowed_host in nrpe.cfg

Posted: Tue Jan 21, 2014 9:53 pm
by jetrider
i have nagios server A and server B, Usually I must add IP of server A and B on allowed_host in nrpe.cfg for client talk to both servers.
But now i have new server C,D and i have 600 clients that is a lot of client. I cannot config IP of server A,B,C and D on allowed_host in nrpe.cfg

what is solution that i must not config IP on all clients but all clients can talk to server A,B,C and D.
who has solution or idea please help me. Thank you. :)

Re: about allowed_host in nrpe.cfg

Posted: Wed Jan 22, 2014 12:48 pm
by slansing
You should be able to add them just fine, what is the issue you are seeing? Are you sure they can route properly though your network? Have you tried running an NMAP from servers (C and D) to the nrpe client?:

Code: Select all

nmap -p 5666 <address.of.nrpe.client>