that works fine:
$ ~>/usr/local/libexec/nagios/check_ntp_time -H ntp1
NTP OK: Offset 0.0008395434124 secs|offset=0.000840s;
60.000000;120.000000;
but, I'm trying to verifty the NTP server's health, not that my
monitoring host is sync'd to it.
"Notes:
This plugin checks the clock offset between the local host and a
remote NTP server. It is independent of any commandline programs or
external libraries.
If you'd rather want to monitor an NTP server, please use
check_ntp_peer."
but that doesn't work (for me) :
$ ~>/usr/local/libexec/nagios/check_ntp_peer -H ntp1 -t 3
CRITICAL - Socket timeout after 3 seconds
/Pete
On 8 May 2008, at 1:55 PM, Stuart Henderson wrote:
On 2008-05-08, Pete Vickers <[EMAIL PROTECTED]> wrote:
Has anybody gotten Nagois' check_ntp_* to play nicely with a remote
openntp service ? It appears to rely upon services not implemented
in openntp ?
this is against an OpenNTP server;
<[EMAIL PROTECTED]:12>$ /usr/local/libexec/nagios/check_ntp_time -H ntp
NTP OK: Offset -0.002711469308 secs|offset=-0.002711s;
60.000000;120.000000;
so, it can work.