Adding allowed list to nrpe.cfg

Add the IP address of the nagios server to nrpe.cfg, for my case my configuration file is located in /usr/local/nagios/etc/nrpe.cfg, if your cfg file is located else where use this command to find find / -name nrpe.cfg Search for the parameter allowed_hosts: append the nagios server ip address.

Advertisement

Nagios: It appears as though you do not have permission to view information for any of the hosts you requested…

You have to do configuration in cgi.cfg, my cgi.cfg is located in /usr/local/nagios/etc/cgi.cfg The default user with permission to access is nagiosadmin, but my username is admin. Change all the parameters to the user you set to permit viewing.You can alternatively add user for authorization by using a comma after nagiosadmin. Restart the nagios service … Continue reading Nagios: It appears as though you do not have permission to view information for any of the hosts you requested…