[Nagiosplug-help] CHECK_NRPE: Socket timeout after 10 seconds.
Soeun Vanny
yuta-vanyo at lime.ocn.ne.jp
Tue Apr 19 17:45:26 CEST 2005
hi,
when you executed check_nrpe from nagios machine, can you get any messages
being logged by your fifth web server?
Just a suggestion, first you can check whether nrpe daemon works properly or
not by executing check_nrpe on your fifth web server :
1.Add loopback address(127.0.0.0) into your nrpe.cfg's host_allows
2.Restart Nrpe daemon
3.On the fifth web server execute check_nrpe,i.e
./check_nrpe -H localhost -c check_disk
----- Original Message -----
From: "Chris Knight" <boheme at gmail.com>
To: <nagiosplug-help at lists.sourceforge.net>
Sent: Wednesday, April 20, 2005 8:02 AM
Subject: [Nagiosplug-help] CHECK_NRPE: Socket timeout after 10 seconds.
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
-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Help
mailing list