Page 1 of 5

Check_nrpe socket time out after 10 seconds for windows host

Posted: Mon Jun 13, 2016 1:51 pm
by rohithroki
Dear Team,

I am getting the below error in one of the windows server for 2 services configured with nrpe.

Critical:Check_nrpe socket time out after 10 seconds for windows host.

please find the nmap results from nagios server :

nmap -p 5666,12489 ip of windows host
5666/tcp open nrpe
12489/tcp open unknown


I am getting the below error from nagios server even even if i change the time to 120
Attaching the NSC file of the windows server

/usr/local.nagios/libex/check_nrpe -H ip of windows host -t 120
Check_nrpe socket time out after 120 seconds.

Re: Check_nrpe socket time out after 10 seconds for windows

Posted: Mon Jun 13, 2016 1:56 pm
by hsmith
Can you try to telnet to port 5666?

Re: Check_nrpe socket time out after 10 seconds for windows

Posted: Mon Jun 13, 2016 1:58 pm
by rohithroki
yes telnet working fine from nagios server

Re: Check_nrpe socket time out after 10 seconds for windows

Posted: Mon Jun 13, 2016 2:01 pm
by hsmith
What version of NSClient are you running?

Re: Check_nrpe socket time out after 10 seconds for windows

Posted: Mon Jun 13, 2016 2:04 pm
by rohithroki
NSClient++ - 0.3.9.328

Re: Check_nrpe socket time out after 10 seconds for windows

Posted: Mon Jun 13, 2016 2:16 pm
by hsmith
10.211.26.68 is your Nagios server?

Re: Check_nrpe socket time out after 10 seconds for windows

Posted: Mon Jun 13, 2016 2:18 pm
by rohithroki
yes that correct

Re: Check_nrpe socket time out after 10 seconds for windows

Posted: Mon Jun 13, 2016 3:52 pm
by rkennedy
rohithroki wrote:Dear Team,

I am getting the below error in one of the windows server for 2 services configured with nrpe.

Critical:Check_nrpe socket time out after 10 seconds for windows host.

please find the nmap results from nagios server :

nmap -p 5666,12489 ip of windows host
5666/tcp open nrpe
12489/tcp open unknown


I am getting the below error from nagios server even even if i change the time to 120
Attaching the NSC file of the windows server

/usr/local.nagios/libex/check_nrpe -H ip of windows host -t 120
Check_nrpe socket time out after 120 seconds.
Is it just 2 specific checks that aren't working? Are the rest working fine through NRPE? This could be an issue with specific plugins. Can you show us the full check_command that these services are running, as well as the plugins they're utilizing?

Re: Check_nrpe socket time out after 10 seconds for windows

Posted: Mon Jun 13, 2016 9:20 pm
by rohithroki
no only the plugins configured with nrpe is not working

even when i give the command
/usr/local/nagios/libex/check_nrpe -H ip of host throws me socket timed out. where its succesful for some other hosts

Re: Check_nrpe socket time out after 10 seconds for windows

Posted: Mon Jun 13, 2016 10:28 pm
by Box293
rkennedy wrote: Can you show us the full check_command that these services are running, as well as the plugins they're utilizing?