> I can't reproduce this on my desktop machine or on my nagios server.

I can; with up-to-date hardy:

# /usr/lib/nagios/plugins/check_ntp -H 127.0.0.1; echo $?
NTP OK: Offset unknown|
0
# ntpq -p
No association ID's returned
# 

> What version are you running (check_ntp -V)?

# /usr/lib/nagios/plugins/check_ntp -V
check_ntp v1861 (nagios-plugins 1.4.11)
#

> (And what does "ntpdate -ud 127.0.0.1" show when you run it? If you
> don't have a running NTP server, it should say "127.0.0.1: Server
> dropped: no data" somewhere in its output.)

# ntpdate -ud 127.0.0.1
 3 Oct 17:17:56 ntpdate[28773]: ntpdate [EMAIL PROTECTED] Fri Mar  7 20:36:59 
UTC 2008 (1)

[...]

 3 Oct 17:17:56 ntpdate[28773]: no server suitable for synchronization found
# 

> Also, the newer versions of nagios-plugins (in Hardy or later) are
> supposed to use check_ntp_peer (for seeing if an NTP server is up)
> and check_ntp_time (for seeing if the server's time is accurate);
> check_ntp is currently deprecated.

If it's deprecated and broken (which it is), surely it should be
removed?
 

** Changed in: nagios-plugins (Ubuntu)
       Status: Invalid => New

-- 
ntp check is worse than useless
https://bugs.launchpad.net/bugs/162389
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to