Page 1 of 1
CRITICAL - Socket timeout after 10 seconds
Posted: Mon Jan 22, 2018 3:53 pm
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
Re: CRITICAL - Socket timeout after 10 seconds
Posted: Mon Jan 22, 2018 5:40 pm
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?
Re: CRITICAL - Socket timeout after 10 seconds
Posted: Tue Jan 23, 2018 8:57 am
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
Re: CRITICAL - Socket timeout after 10 seconds
Posted: Tue Jan 23, 2018 12:09 pm
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?
Re: CRITICAL - Socket timeout after 10 seconds
Posted: Tue Jan 23, 2018 1:58 pm
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)?
Re: CRITICAL - Socket timeout after 10 seconds
Posted: Tue Jan 23, 2018 4:44 pm
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.
Re: CRITICAL - Socket timeout after 10 seconds
Posted: Tue Jan 30, 2018 10:37 am
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!
Re: CRITICAL - Socket timeout after 10 seconds
Posted: Tue Jan 30, 2018 12:25 pm
by kyang
Sounds good!
Are we okay to lock this thread? Or did you have any more questions?
Re: CRITICAL - Socket timeout after 10 seconds
Posted: Wed Jan 31, 2018 6:58 am
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
Re: CRITICAL - Socket timeout after 10 seconds
Posted: Wed Jan 31, 2018 10:20 am
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!