Connection refused by Host alerts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
plakshmi
Posts: 68
Joined: Thu Aug 30, 2012 12:32 pm

Connection refused by Host alerts

Post by plakshmi »

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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Connection refused by Host alerts

Post by slansing »

You may need to bump up the max connections:

http://www.symantec.com/business/suppor ... =TECH37520
plakshmi
Posts: 68
Joined: Thu Aug 30, 2012 12:32 pm

Re: Connection refused by Host alerts

Post by plakshmi »

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.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Connection refused by Host alerts

Post by sreinhardt »

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.
plakshmi
Posts: 68
Joined: Thu Aug 30, 2012 12:32 pm

Re: Connection refused by Host alerts

Post by plakshmi »

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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Connection refused by Host alerts

Post by scottwilkerson »

Thanks for keeping us up to date!
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
plakshmi
Posts: 68
Joined: Thu Aug 30, 2012 12:32 pm

Re: Connection refused by Host alerts

Post by plakshmi »

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.
Locked