Check_nrpe socket time out after 10 seconds for windows host

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
rohithroki
Posts: 138
Joined: Mon Nov 30, 2015 6:12 am

Check_nrpe socket time out after 10 seconds for windows host

Post 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.
Attachments
NSC.ini
NSC file
(13 KiB) Downloaded 803 times
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Check_nrpe socket time out after 10 seconds for windows

Post by hsmith »

Can you try to telnet to port 5666?
Former Nagios Employee.
me.
rohithroki
Posts: 138
Joined: Mon Nov 30, 2015 6:12 am

Re: Check_nrpe socket time out after 10 seconds for windows

Post by rohithroki »

yes telnet working fine from nagios server
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Check_nrpe socket time out after 10 seconds for windows

Post by hsmith »

What version of NSClient are you running?
Former Nagios Employee.
me.
rohithroki
Posts: 138
Joined: Mon Nov 30, 2015 6:12 am

Re: Check_nrpe socket time out after 10 seconds for windows

Post by rohithroki »

NSClient++ - 0.3.9.328
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Check_nrpe socket time out after 10 seconds for windows

Post by hsmith »

10.211.26.68 is your Nagios server?
Former Nagios Employee.
me.
rohithroki
Posts: 138
Joined: Mon Nov 30, 2015 6:12 am

Re: Check_nrpe socket time out after 10 seconds for windows

Post by rohithroki »

yes that correct
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Check_nrpe socket time out after 10 seconds for windows

Post 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?
Former Nagios Employee
rohithroki
Posts: 138
Joined: Mon Nov 30, 2015 6:12 am

Re: Check_nrpe socket time out after 10 seconds for windows

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Check_nrpe socket time out after 10 seconds for windows

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked