Page 1 of 1

CRITICAL - Socket timeout after 10 seconds for windows serve

Posted: Mon Feb 11, 2013 5:14 am
by lafargeuser
I am receiving so many timeout alerts for Drive C: Disk Usage Critical 2m 17s 3/5 2013-02-11 09:52:31 CRITICAL - Socket timeout after 10 seconds & CPU Respectively.
However, after few minutes its coming normal stage. Coudn't able to find Root Cause & possible solution.

Re: CRITICAL - Socket timeout after 10 seconds for windows s

Posted: Mon Feb 11, 2013 11:13 am
by slansing
Do you know of an application "sounds like it is on a cron" that would be taking port 5666? This has been seen before as a cause for this issue.

Re: CRITICAL - Socket timeout after 10 seconds for windows s

Posted: Tue Feb 12, 2013 6:53 am
by lafargeuser
Port is not in use by any application.

Tried every possibilities, uninstalled agent & reinstalled check NSC.ini file...
Pls. help how to get rid of this alert..

Re: CRITICAL - Socket timeout after 10 seconds for windows s

Posted: Tue Feb 12, 2013 10:15 am
by lmiltchev
Can you show us the actual command that you are running in the command line? (Hide sensitive info). Have you tried increasing the timeout? For example:
/usr/local/nagios/libexec/check_nt -H <IP_address> -s "<password>" -p 12489 -t 60 -v USEDDISKSPACE -l C -w 80% -c 90%

Re: CRITICAL - Socket timeout after 10 seconds for windows s

Posted: Wed Feb 13, 2013 7:07 am
by lafargeuser
Increased timeout value= 60 in NSC.ini
Socket timeout value

Where you want me to increase ?

However, if i monitor the Host using SNMP, then its showing in ok state.

Re: CRITICAL - Socket timeout after 10 seconds for windows s

Posted: Wed Feb 13, 2013 10:23 am
by slansing
You need to change it on the Nagios server's side, try running the command manually with a 60 second timeout as lmiltchev showed.