Team,
We are getting "Connection refused by Host" alerts for a linux remote host intermittently. We observed issue with xinetd deamon on the remote server. Also found below entries from /var/adm/messages log file and time of the log entries & nagios alerts match exactly.
Dec 7 03:12:21 XSBIPROD xinetd[56810]: Deactivating service nrpe due to excessive incoming connections. Restarting in 30 seconds.
Dec 7 03:12:51 XSBIPROD xinetd[56810]: Activating service nrpe
Dec 7 03:14:15 XSBIPROD rhsmd: This system is registered to RHN Classic.
Dec 7 03:17:21 XSBIPROD xinetd[56810]: Deactivating service nrpe due to excessive incoming connections. Restarting in 30 seconds.
Dec 7 03:17:51 XSBIPROD xinetd[56810]: Activating service nrpe
Dec 7 03:22:21 XSBIPROD xinetd[56810]: Deactivating service nrpe due to excessive incoming connections. Restarting in 30 seconds.
Dec 7 03:22:51 XSBIPROD xinetd[56810]: Activating service nrpe
Dec 7 03:27:21 XSBIPROD xinetd[56810]: Deactivating service nrpe due to excessive incoming connections. Restarting in 30 seconds.
Dec 7 03:27:51 XSBIPROD xinetd[56810]: Activating service nrpe
Dec 7 03:32:22 XSBIPROD xinetd[56810]: Deactivating service nrpe due to excessive incoming connections. Restarting in 30 seconds.
Dec 7 03:32:52 XSBIPROD xinetd[56810]: Activating service nrpe
Could you let us know if we need to do any changes from nagios side or suggest us please.
Connection refused by Host alerts
Re: Connection refused by Host alerts
Thanks for the reply. Sorry for the late response.
We are working on increasing the max incoming connections from 25(default) to 40 per second. Will let you know if we face any issues after doing this step.
We are working on increasing the max incoming connections from 25(default) to 40 per second. Will let you know if we face any issues after doing this step.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Connection refused by Host alerts
Great, thanks for the update, hopefully this works!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Connection refused by Host alerts
We have increased max connections on our QC server and observed for 3-4 days. We did not find any issue so far. We will be implementing it on production box where we have actually seen the errors and hopefully it will clear the issue.
We will keep you posted.
We will keep you posted.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Connection refused by Host alerts
Thanks for keeping us up to date!
Re: Connection refused by Host alerts
The issue has been resolved. After increasing max connections from 25 to 50 on production server, we are not receiving the "Connection refused by host" alerts.
Thanks for your support.
Thanks for your support.