diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2012-08-06 18:37:43 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2012-08-06 18:37:43 (GMT) |
commit | 48b83c45afa32481ae36f17e1723fda5132acffa (patch) | |
tree | 1066d57947fbf957ef966540e5fd251df879d410 | |
parent | 3c10d84ea21c91c4f14cb241f5c7f24e4536476a (diff) | |
download | monitoring-plugins-48b83c45afa32481ae36f17e1723fda5132acffa.tar.gz |
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: <20120722142840.GA6931@torres.zugschlus.de>).
-rw-r--r-- | 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){ | |||
668 | printf (" %s\n", "-c, --critical=THRESHOLD"); | 668 | printf (" %s\n", "-c, --critical=THRESHOLD"); |
669 | printf (" %s\n", _("Offset to result in critical status (seconds)")); | 669 | printf (" %s\n", _("Offset to result in critical status (seconds)")); |
670 | printf (" %s\n", "-W, --swarn=THRESHOLD"); | 670 | printf (" %s\n", "-W, --swarn=THRESHOLD"); |
671 | printf (" %s\n", _("Warning threshold for stratum")); | 671 | printf (" %s\n", _("Warning threshold for stratum of server's synchronization peer")); |
672 | printf (" %s\n", "-C, --scrit=THRESHOLD"); | 672 | printf (" %s\n", "-C, --scrit=THRESHOLD"); |
673 | printf (" %s\n", _("Critical threshold for stratum")); | 673 | printf (" %s\n", _("Critical threshold for stratum of server's synchronization peer")); |
674 | printf (" %s\n", "-j, --jwarn=THRESHOLD"); | 674 | printf (" %s\n", "-j, --jwarn=THRESHOLD"); |
675 | printf (" %s\n", _("Warning threshold for jitter")); | 675 | printf (" %s\n", _("Warning threshold for jitter")); |
676 | printf (" %s\n", "-k, --jcrit=THRESHOLD"); | 676 | printf (" %s\n", "-k, --jcrit=THRESHOLD"); |