Page 1 of 1

CHECK_NRPE: Socket timeout after 10 seconds.

Posted: Wed Jul 02, 2014 2:22 am
by dreamboy_sivak
Hi Team,

i have been little confused on this error.

Because lots of resources giving so much solution but not the correct one.

can u please guide me on this to fix. :?

Thanks

Re: CHECK_NRPE: Socket timeout after 10 seconds.

Posted: Wed Jul 02, 2014 2:32 am
by Box293
Can you try some of the suggestions in this post please:

http://support.nagios.com/forum/viewtop ... hilit=nmap

Re: CHECK_NRPE: Socket timeout after 10 seconds.

Posted: Wed Jul 02, 2014 4:28 am
by dreamboy_sivak
HI Team,

I am following Box293's link

http://support.nagios.com/forum/viewtop ... hilit=nmap ..


before that i need one more clarification. My question is there is no check_nrpe pluging in /usr/lib/nagios/plugins folder.

How can i get that plugin? and i installed nrpe from ubuntu repository
sudo apt-get install nagios-nrpe-server
sudo apt-get install nagios-plugins-basic nagios-plugins nagios-plugins-extra nagios-plugins-common

Re: CHECK_NRPE: Socket timeout after 10 seconds.

Posted: Wed Jul 02, 2014 4:53 am
by dreamboy_sivak
Getting the following response in nagios server

root@VM:/# nmap xx.xxx.xx.xxx -p 5666

Starting Nmap 5.21 ( http://nmap.org ) at 2014-07-02 17:48 SGT
Nmap scan report for xx.xxx.xx.xxx
Host is up (0.0022s latency).
PORT STATE SERVICE
5666/tcp filtered nrpe

Nmap done: 1 IP address (1 host up) scanned in 0.66 seconds

Re: CHECK_NRPE: Socket timeout after 10 seconds.

Posted: Wed Jul 02, 2014 5:04 am
by dreamboy_sivak
This is my result for ...
root@vm:/usr/lib/nagios/plugins# ps aux | grep nrpe

nagios 7018 0.0 0.1 23328 1152 ? Ss 09:16 0:00 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d
root 7089 0.0 0.1 10464 920 pts/0 S+ 09:58 0:00 grep --color=auto nrpe

root@vm:/usr/lib/nagios/plugins# netstat -at | grep nrpe

tcp 0 0 *:nrpe *:* LISTEN
tcp6 0 0 [::]:nrpe [::]:* LISTEN

Re: CHECK_NRPE: Socket timeout after 10 seconds.

Posted: Wed Jul 02, 2014 1:07 pm
by tmcdonald
You can run the following command on the Nagios server to find check_nrpe:

Code: Select all

find / -name check_nrpe
Also, is there any firewall in place (either hardware or software) that might be blocking Nagios from reaching the NRPE server?

Re: CHECK_NRPE: Socket timeout after 10 seconds.

Posted: Wed Jul 02, 2014 3:47 pm
by Box293
On the Ubuntu server you'll also need to install:

Code: Select all

sudo apt-get install nagios-nrpe-plugin
And then check_nrpe will be located in /usr/lib/nagios/plugins/

Re: CHECK_NRPE: Socket timeout after 10 seconds.

Posted: Thu Jul 03, 2014 11:29 pm
by dreamboy_sivak
Thanks Guys


I fixed this .. thanks for ur support