[Nagiosplug-help] CHECK_NRPE: Socket timeout after 10 seconds.

Chris Knight boheme at gmail.com
Tue Apr 19 16:04:19 CEST 2005


Greetings,

  I am having a bit of a problem, and wanted to see if anyone had any
insights that might lead to a solution.  I have several machines in a
co-lo, behind a firewall, and privately addressed in 10.1.x.y.  There
are four web servers monitored by Nagios, which lives on a fifth
machine.  NRPE is used to check local disk space on each of the web
servers.  I just added a fifth web server.  I have NRPE installed to
run as a daemon, and the Nagios machine is listed by IP address on the
allowed_hosts line.   When I invoke chech_nrpe by hand, this is what I
get:

$ /opt/nagios/libexec/check_nrpe -H 10.1.62.6 -p 5666 -c check_disk_boot
CHECK_NRPE: Socket timeout after 10 seconds.

I have searched the archive already and the one suggestion I saw,
which worked for the original poster, was to turn off any local
firewalls.  While I do have a local firewall, I removed all the rules,
and the problem still exists:

$ /sbin/iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination  

Also, I can telnet to 10.1.62.6 on port 5666 from the Nagios machine,
and I am able to establish a connection.  According to netstat when I
telnet a connection exists, which is another reason I don't think it
is a firewall issue.  (Please, prove me wrong if it will solve my
problem.  :)

Any thoughts?

-Chris




More information about the Help mailing list