NSclient++ Socket timeout after 10 Sec error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

NSclient++ Socket timeout after 10 Sec error

Post by jyoti22 »

Hi,

I am getting "NSclient++ Socket timeout after 10 Sec" error for the windows server. Kindly help to resolve this
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: NSclient++ Socket timeout after 10 Sec error

Post 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.
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Re: NSclient++ Socket timeout after 10 Sec error

Post 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.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: NSclient++ Socket timeout after 10 Sec error

Post 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)
Former Nagios Employee
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Re: NSclient++ Socket timeout after 10 Sec error

Post by jyoti22 »

We still have this issue. This is an intermittent issue. The OS is windows 2008 R2.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NSclient++ Socket timeout after 10 Sec error

Post by tmcdonald »

Did you follow @rkennedy's suggestion and specify the timeout?
Former Nagios employee
Locked