check_ntp_peer

Thomas Guyot-Sionnest dermoth at aei.ca
Sun Aug 24 03:28:38 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 23/08/08 09:04 PM, Tijn wrote:
> Hi,
> 
> When I try to use check_ntp_peer for my OpenBSD timeserver (Openntpd):
> ./check_ntp_peer -H myname -t 30 -w 0.5 -c 1;  the response is:  
> CRITICAL - Socket timeout after 30 seconds
> 
> ./check_ntp_time -H myname  works fine.
> 
> I can also set the time of my system with #ntpdate myname.
> Does someone know why I can't use check_ntp_peer?

Not all servers support NTP Control packets used by check_ntp_peer. Do
you get anything with this command?

ntpq -p myname

If you don't, then check_ntp_peer won't work either.

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIsLlG6dZ+Kt5BchYRApkSAKDH0Mw9VWLqBige5cnR5JvYWVSSCgCfeAYO
I66XcJrlyU1DH5bQwiEreFw=
=HtEw
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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