[nagiosplug] check_ntp_peer: Fix --help output for -W and -C
"Nagios Plugin Development" <[email protected]> Mon, 6 Aug 2012 19:40:30 +0000
| Newsgroups | gmane.network.nagios.plugins.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module: nagiosplug Branch: master Commit: 48b83c45afa32481ae36f17e1723fda5132acffa Author: Holger Weiss <[email protected]> Date: Mon Aug 6 20:37:43 2012 +0200 URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=48b83c4 check_ntp_peer: Fix --help output for -W and -C Mention that the check_ntp_peer plugin checks the stratum of the synchronization peer, not the stratum of the monitored server itself. Thanks to Marc Haber for bringing this up on the "nagios-users" mailing list (Message-ID: <[email protected]>). --- plugins/check_ntp_peer.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c index f0dd2d8..7e93e45 100644 --- a/plugins/check_ntp_peer.c +++ b/plugins/check_ntp_peer.c @@ -668,9 +668,9 @@ void print_help(void){ printf (" %s\n", "-c, --critical=THRESHOLD"); printf (" %s\n", _("Offset to result in critical status (seconds)")); printf (" %s\n", "-W, --swarn=THRESHOLD"); - printf (" %s\n", _("Warning threshold for stratum")); + printf (" %s\n", _("Warning threshold for stratum of server's synchronization peer")); printf (" %s\n", "-C, --scrit=THRESHOLD"); - printf (" %s\n", _("Critical threshold for stratum")); + printf (" %s\n", _("Critical threshold for stratum of server's synchronization peer")); printf (" %s\n", "-j, --jwarn=THRESHOLD"); printf (" %s\n", _("Warning threshold for jitter")); printf (" %s\n", "-k, --jcrit=THRESHOLD"); ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/