I installed nrpe on new servers. Nagios is already running and checking other server (I haven't installed).
I've got several error lines in my syslog file :
Oct 31 15:17:01 myservername nrpe[41848]: Host nagios_ip is not allowed to talk to us!
My nrpe.cfg file includes the following line :
allowed_hosts=nagios_ip
What am I doing wrong ?
(with nagios_ip the actual IP for my nagios server)
Best Answer
Had the same entry in my
syslog
. Editing/etc/nagios/nrpe.cfg
and enter missing IP will fixed it at all.After editing you have to restart or even reload
nrpe
deamon.Check if it is all fine with your configuration. Syslog should have an entry like this:
I advise you not to add user nagios to sudoers because of security issues.