CRITICAL - Socket timeout after 10 seconds

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.
Locked
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

CRITICAL - Socket timeout after 10 seconds

Post by dlukinski »

Please help with "CRITICAL - Socket timeout after 10 seconds" CORE errors
- mostly related to HTTP checks
- in our case integrated with XI via NRDP

What and how to adjust to fix this?

Thank you
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: CRITICAL - Socket timeout after 10 seconds

Post by npolovenko »

@dlukinski, Is this a consistent behavior from the http check? Or does it work one time and then fail the other? Can you show us the command definition for this service check?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: CRITICAL - Socket timeout after 10 seconds

Post by dlukinski »

npolovenko wrote:@dlukinski, Is this a consistent behavior from the http check? Or does it work one time and then fail the other? Can you show us the command definition for this service check?
It works, but when we get these, portal it is checking is actually available from that location
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: CRITICAL - Socket timeout after 10 seconds

Post by npolovenko »

@dlukinski, I haven't seen the command definition yet but if it's using a check_http plugin, I'd probably try to increase a timeout value with -t 40 argument. Can you try that and let us know if that fixes the problem?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: CRITICAL - Socket timeout after 10 seconds

Post by dlukinski »

npolovenko wrote:@dlukinski, I haven't seen the command definition yet but if it's using a check_http plugin, I'd probably try to increase a timeout value with -t 40 argument. Can you try that and let us know if that fixes the problem?
Should i edit check_command (check_http! -f follow -I 10.x.x.x -u '/' -p 80) or the command definition (attached)?
Attachments
HTTPcommand-1.jpg
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: CRITICAL - Socket timeout after 10 seconds

Post by cdienger »

If it's just occurring a single host host then I modify the check definition. If it's multiple host then modify the command definition.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: CRITICAL - Socket timeout after 10 seconds

Post by dlukinski »

cdienger wrote:If it's just occurring a single host host then I modify the check definition. If it's multiple host then modify the command definition.

Modified definition to 45 sec and no more issues so far

Thank you!
kyang

Re: CRITICAL - Socket timeout after 10 seconds

Post by kyang »

Sounds good!

Are we okay to lock this thread? Or did you have any more questions?
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: CRITICAL - Socket timeout after 10 seconds

Post by dlukinski »

kyang wrote:Sounds good!

Are we okay to lock this thread? Or did you have any more questions?
Believe we are OK close

Thank you once again

/Dimitri
kyang

Re: CRITICAL - Socket timeout after 10 seconds

Post by kyang »

Sounds good! I'll be closing this thread!

If you have any more questions, feel free to create another thread.

Thanks for using the Nagios Support Forum!
Locked