importance of allowed_hosts in nrpe.cfg file

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bsivavani
Posts: 339
Joined: Tue Oct 06, 2015 9:17 am

importance of allowed_hosts in nrpe.cfg file

Post by bsivavani »

Hi,

Can you let us know the importance of allowed_hosts entry in nrpe.cfg file.

Kindly advice if there is any issue if we comment the allowed_hosts entry in nrpe.cfg file ?

and also uncomment the entry and give desired Nagios instances ?

What is your recommendation on these two.
User avatar
jbrunkow
Posts: 441
Joined: Fri Mar 13, 2020 10:45 am

Re: importance of allowed_hosts in nrpe.cfg file

Post by jbrunkow »

This is a security precaution. I suggest that you use it unless you have another feature in your network to prevent the connection to that host from being intercepted (such as a robust firewall) or if you just don't mind taking the risk for some other reason...

I do not think that you could just comment out that line, I believe some of the internal logic of Nagios requires it. You can certainly add more IP addresses to it, just make sure that they are separated by a comma.

Is there a reason you don't want to use it?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked