Code

Let check_ntp_peer check the number of truechimers
authorHolger Weiss <holger@zedat.fu-berlin.de>
Wed, 17 Mar 2010 23:34:14 +0000 (00:34 +0100)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Wed, 17 Mar 2010 23:34:14 +0000 (00:34 +0100)
commite11b67f6200b994c6d8118948a36eb0ed43bec5a
treed6497188c156d65344f2269a1b606ce1d9583e26
parentf95cb118dee9fbaaba4e2c7bbbcf368f8d915d9a
Let check_ntp_peer check the number of truechimers

Add support for checking the number of usable time sources (i.e., the
number of peers which are classified as so-called "truechimers" by NTP's
intersection algorithm).  The new "-m" and "-n" options allow for
specifying the according WARNING and CRITICAL thresholds (and thereby
activating the truechimers check), respectively.
NEWS
plugins/check_ntp_peer.c
plugins/t/check_ntp.t