Page 1 of 1

NSclient++ Socket timeout after 10 Sec error

Posted: Tue Jan 03, 2017 8:34 am
by jyoti22
Hi,

I am getting "NSclient++ Socket timeout after 10 Sec" error for the windows server. Kindly help to resolve this

Re: NSclient++ Socket timeout after 10 Sec error

Posted: Tue Jan 03, 2017 10:12 am
by dwhitfield
What version of NSClient are you using? What documentation did you use to set it up? What checks are you running? Are any checks working? If so, which ones?

Sometimes, this can be solved by simply increasing the timeout period.

Re: NSclient++ Socket timeout after 10 Sec error

Posted: Wed Jan 04, 2017 5:29 am
by jyoti22
The NSClient version is NSCP-0.4.4.15-x64. please tell me in detail how i can increase the timeout period. We are monitoring drives,CPU usage and memory . Only the server status is shown up but the services are down with error "socket timeout error after 10 seconds". there is no firewall issues. We are using check_nt command.

Re: NSclient++ Socket timeout after 10 Sec error

Posted: Wed Jan 04, 2017 10:30 am
by rkennedy
Try appending -t 60 to the command -

Code: Select all

 -t, --timeout=INTEGER
   Seconds before connection attempt times out (default:  -l, --params=<parameters>
   Parameters passed to specified check (see below) -d, --display={SHOWALL}
   Display options (currently only SHOWALL works) -u, --unknown-timeout
   Return UNKNOWN on timeouts10)

Re: NSclient++ Socket timeout after 10 Sec error

Posted: Tue Apr 25, 2017 5:36 am
by jyoti22
We still have this issue. This is an intermittent issue. The OS is windows 2008 R2.

Re: NSclient++ Socket timeout after 10 Sec error

Posted: Tue Apr 25, 2017 9:26 am
by tmcdonald
Did you follow @rkennedy's suggestion and specify the timeout?