Problem: All Nagios Checks to a Host get "Connection reset"

Problem

All Nagios checks to a single UCs-host get “Connection reset by peer”.

Envrionment

The UCR-variables on the target host are set correctly:

root@slave:~ # ucr get nagios/client/allowedhosts
nagios.multi.ucs

Solution

Check if a manual added configuration file exists. If so, this will overwrite the UCR-variable settings:
In /etc/nagios/nrpe.d/0001allowed_hosts.cfg check for a line as shown:
allowed_hosts=10.22.4.5,10.149.200.48,10.149.254.3
Remove the file or the line inside the file and restart the Nagios agent.

1 Like
Mastodon