about allowed_host in nrpe.cfg

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
jetrider
Posts: 1
Joined: Tue Jan 21, 2014 9:03 pm

about allowed_host in nrpe.cfg

Post 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. :)
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: about allowed_host in nrpe.cfg

Post 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>
Locked