nrpeclient nrpe[71321]: Host is not allowed to talk to us!
While configuring the clients for the nagios monitor, we get these errors. This error means the nrpe daemon is communication with nagios server. If the nrpe is not able to access the nagios server then following error would be logged.
Error:
Jan 15 05:39:03 nrpeclient nrpe[71321]: Host 192.168.1.16 is not allowed to talk to us!
Solution:
2. Mention your nagios Server IP there. You can add multiple IP separated by comma.
Error:
Jan 15 05:39:03 nrpeclient nrpe[71321]: Host 192.168.1.16 is not allowed to talk to us!
Nagios |
Solution:
1. Edit the file /etc/nagios/nrpe.cfg and search for "allowed_hosts".
2. Mention your nagios Server IP there. You can add multiple IP separated by comma.
allowed_hosts=127.0.0.1, ::1, 192.168.1.16
3. Now Restart nrpe service.
systemctl restart nrpe
4. Check the connections are allowed from Nagios server or not.
systemctl status nrpe
it should now show following Line.
Jan 15 06:13:45 nrpeclient nrpe[667]: Allowing connections from: 127.0.0.1, ::1, 192.168.1.16
No comments