Sporadic 'Connection refused' errors in 4.2.4

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Sporadic 'Connection refused' errors in 4.2.4

Post by tgriep »

I saw the missing info in the post so I figured that could be the issue.

When you say "Same old connection refused errors again on the checks I re-enabled." are you having that error all of the time or is it intermittent still?
If it is intermittent, you may try increasing the timeout to a higher value that what you have and see if that helps. Of if you have access to the host, check it's log to see if there are any clues there.

If it is happening all of the time, run the check in the command line with the -v (Verbose) and post the output here.
Be sure to check out our Knowledgebase for helpful articles and solutions!
kernow5000
Posts: 58
Joined: Mon Jan 09, 2017 9:06 am

Re: Sporadic 'Connection refused' errors in 4.2.4

Post by kernow5000 »

Just sometimes, and re-enabling those checks seems to kick others off that were fine.

I've tried upping timeouts and it doesn't really seem to do anything, 99% fine, then the old connection refused stuff.

Running command line checks all day - work 100% but I will add -v to check this time.
kernow5000
Posts: 58
Joined: Mon Jan 09, 2017 9:06 am

Re: Sporadic 'Connection refused' errors in 4.2.4

Post by kernow5000 »

Well, this is a new one:

CRITICAL - Plugin timed out while executing system call
kernow5000
Posts: 58
Joined: Mon Jan 09, 2017 9:06 am

Re: Sporadic 'Connection refused' errors in 4.2.4

Post by kernow5000 »

I've always thought this was a problem with forking off processes to do the service checks, since the start.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Sporadic 'Connection refused' errors in 4.2.4

Post by tgriep »

I am trying to see if I can replicate the Sporadic Connection Refused to the servers you are testing. One of the servers I cannot connect at all and the other seems to be redirecting the page but so far it is working.
One thing to check, see if the ISP that are hosting those sites are throttling connections, etc. and see if that is happening.
Be sure to check out our Knowledgebase for helpful articles and solutions!
kernow5000
Posts: 58
Joined: Mon Jan 09, 2017 9:06 am

Re: Sporadic 'Connection refused' errors in 4.2.4

Post by kernow5000 »

Hi, I've check with my hosting providers and none of them have any connection throttling in place.

Thanks.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Sporadic 'Connection refused' errors in 4.2.4

Post by dwhitfield »

@kernow5000 I got your PM about needing to get approval to send more logs. Assuming you get approval, once you send the logs, please update this thread.
kernow5000
Posts: 58
Joined: Mon Jan 09, 2017 9:06 am

Re: Sporadic 'Connection refused' errors in 4.2.4

Post by kernow5000 »

Will do.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Sporadic 'Connection refused' errors in 4.2.4

Post by dwhitfield »

Excellent. No hurry on our end!

UPDATE: debug shared received and shared with techs
kernow5000
Posts: 58
Joined: Mon Jan 09, 2017 9:06 am

Re: Sporadic 'Connection refused' errors in 4.2.4

Post by kernow5000 »

(Section) of nagios.debug sent. :)
Locked