[Nagiosplug-devel] [ nagiosplug-Patches-1407587 ] check_ntp: multi-peer support, don't abort on ntpdate error
SourceForge.net
noreply at sourceforge.net
Mon Jan 16 10:58:01 CET 2006
Patches item #1407587, was opened at 2006-01-16 19:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1407587&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Bugfix
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Joachim Schrod (jschrod)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_ntp: multi-peer support, don't abort on ntpdate error
Initial Comment:
check_ntp currently does not support multiple peers,
when one is not synchronized to the last peer. Then the
jitter value is overwritten with '(not parsed)'. (See
bug #1267741.)
This also causes an annoying warning message. (See bug
#1251096.)
In bug #1251096, harpermann also mentioned that he has
fixed `bad exit status' by ntpdate or ntpq. Version
1.31 of check_ntp.pl now aborts with die if ntpdate or
ntpq have an exit status != 0.
For example, this happens when no ntp server is
running. But then ntpdate works properly and reports
that no server was available. This message is also
parsed by check_ntp and handled correctly. I.e., one
should not abort then, but should use the existing
control flow of the check script.
This patch handles both multi-peer situations, and also
corrects the ntpdate/ntpq exit status check.
In addition, it allows host names (and domain names in
FQDNs) to consist of one char only.
By the way, why has the ntpdate output been removed
from -v? It should better remain in.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1407587&group_id=29880
More information about the Devel
mailing list