I've just moved to a new nagios server and have got all the old hosts/services working. There is just one host that will not allow nrpe checks, producing an error on the nagios server as in the title.
The host produces the following error in syslog -
user nrpe: Host XXX.XXX.XXX.XXX is not allowed to talk to us!
I've edited /usr/local/nagios/etc/nrpe.cfg and added XXX.XXX.XXX.XXX and 127.0.0.1 to allowed_hosts.
I've also added ALL: XXX.XXX.XXX.XXX to /etc/hosts.allow
The old nagios server's IP isnt in either of those config files yet it can still perform the checks whereas the new nagios server cant and the host cant even perform the check on itself -
/check_nrpe -H 127.0.0.1 -c check_load
Gives the same error as in the title and the
user nrpe: Host 127.0.0.1 is not allowed to talk to us!
in the syslog. Any help would be great, I've got to the point where I have no idea what else to try! The host is running Ubuntu. Thanks