Connection Refused/Connection Refused by Host
Posted: Fri Dec 20, 2013 9:56 am
Hi everyone,
I'm working through these agent issues one by one and I've hit a snag.
We have a group of servers that run on Debian. They are old and as such I had to install Nagios from source. I have it installed and the agent runs but I get "Connection Refused" and "Connection Refused by host" errors in the Service Detail. Nagios can ping the servers so it's not a network issue and there are no firewalls, software or hardware, between the host and the Nagios server that would block the traffic.
I've updated allowed_hosts in /etc/nagios/nrpe.cfg to contain the IP Address of the Nagios server and then restarted the daemon with the command:
/etc/init.d/nagios3 restart
If I run check_nrpe I get an error that the connection was refused.
Obviously, I'm not adding the allowed_hosts in the correct place. I'm not using xinetd.
Thanks!
I'm working through these agent issues one by one and I've hit a snag.
We have a group of servers that run on Debian. They are old and as such I had to install Nagios from source. I have it installed and the agent runs but I get "Connection Refused" and "Connection Refused by host" errors in the Service Detail. Nagios can ping the servers so it's not a network issue and there are no firewalls, software or hardware, between the host and the Nagios server that would block the traffic.
I've updated allowed_hosts in /etc/nagios/nrpe.cfg to contain the IP Address of the Nagios server and then restarted the daemon with the command:
/etc/init.d/nagios3 restart
If I run check_nrpe I get an error that the connection was refused.
Obviously, I'm not adding the allowed_hosts in the correct place. I'm not using xinetd.
Thanks!