Probs with check_ntp
Ralf Mellis
testrm at kisters.com
Wed May 21 17:07:28 CEST 2003
Hello, I'm working with nag 1.0, plugins 1.3 and nrpe 2.03b/1.8.
On my nrpe hosts (linux with 2.03b, hp-ux 11 with 1.8) I have setup a
nrpe command in "nrpe.cfg" like
command[check_ntp]=/opt/nagios/libexec/check_ntp -H <fqdn2check-against>
where <fqdn2check-against> reflects the "ntp parent" of the according
nrpe host. All ntp checks on my nag server are working correctly, but
one fails permanently with the error:
CHECK_NRPE: Socket timeout after 10 seconds.
If I give the command locally on this host, I'm getting
NTP OK: Offset -0.000<xxx> secs
every time, the answer is within 5 to 6 seconds. The host with the
problems is the one which is the primary time server for my whole
network, it synchronises with the ntp servers "ptbtime.ptb.de" and
"ptbtime2.ptb.de". The host is placed in a dmz, so there is a packet
filter between this host and my nagios host. I have configured this
filter to allow nrpe communication successfully because there are some
other nrpe commands which are processed correctly.
The version of check_ntp is:
check_ntp (nagios-plugins 1.3.0) 1.14
Where is the problem? And is there a possibility to increase the timeout
value?
Regards
--
Ralf Mellis
Abt. DV/ORG
Kisters Maschinenbau GmbH
Germany
47533 Kleve
Boschstr. 1-3
Tel. +49(0)2821-503-0
Fax +49(0)2821-26110
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list