CHECK_NRPE: Socket timeout after 10 seconds.

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.
Locked
dreamboy_sivak
Posts: 18
Joined: Tue Mar 25, 2014 2:13 am

CHECK_NRPE: Socket timeout after 10 seconds.

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

Re: CHECK_NRPE: Socket timeout after 10 seconds.

Post by Box293 »

Can you try some of the suggestions in this post please:

http://support.nagios.com/forum/viewtop ... hilit=nmap
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
dreamboy_sivak
Posts: 18
Joined: Tue Mar 25, 2014 2:13 am

Re: CHECK_NRPE: Socket timeout after 10 seconds.

Post 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
dreamboy_sivak
Posts: 18
Joined: Tue Mar 25, 2014 2:13 am

Re: CHECK_NRPE: Socket timeout after 10 seconds.

Post 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
dreamboy_sivak
Posts: 18
Joined: Tue Mar 25, 2014 2:13 am

Re: CHECK_NRPE: Socket timeout after 10 seconds.

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: CHECK_NRPE: Socket timeout after 10 seconds.

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

Re: CHECK_NRPE: Socket timeout after 10 seconds.

Post 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/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
dreamboy_sivak
Posts: 18
Joined: Tue Mar 25, 2014 2:13 am

Re: CHECK_NRPE: Socket timeout after 10 seconds.

Post by dreamboy_sivak »

Thanks Guys


I fixed this .. thanks for ur support
Locked