[Nagiosplug-devel] [PATCH] Let check_ntp_peer check the number of truechimers
Thomas Guyot-Sionnest
dermoth at aei.ca
Tue Mar 16 05:36:40 CET 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 14/03/10 08:50 PM, Holger Weiß wrote:
> This patch adds support for checking the number of usable time sources¹
> to the check_ntp_peer plugin. The new "-m" and "-n" options allow for
> specifying the according WARNING and CRITICAL thresholds (and thereby
> activating the truechimers check), respectively.
>
> ¹ That is, the number of peers which are classified as "truechimers" by
> NTP's intersection algorithm.
> ---
>
> If nobody objects, I'll commit this patch in a few days.
Nice work Holger! Absolutely no objections from me...
> NEWS | 1 +
> plugins/check_ntp_peer.c | 72 ++++++++++++++++++++++++++++++++++++---------
> plugins/t/check_ntp.t | 24 +++++++-------
> 3 files changed, 70 insertions(+), 27 deletions(-)
- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFLnwrX6dZ+Kt5BchYRAtGeAKCZH0ezGO4occwljYv7BBee3SANNACg6EgP
5ebkWgwD/qF9rrZ/B2ImUL8=
=qCLS
-----END PGP SIGNATURE-----
More information about the Devel
mailing list