diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2012-08-06 21:03:06 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2012-08-06 21:03:06 +0200 |
commit | cc04d9f188085d8262fa9ff3d8fca3522d4ba9e1 (patch) | |
tree | 14607b546572e0133420a33472b80bd72e0d7fbe /plugins/check_ntp_peer.c | |
parent | 48b83c45afa32481ae36f17e1723fda5132acffa (diff) | |
download | monitoring-plugins-cc04d9f188085d8262fa9ff3d8fca3522d4ba9e1.tar.gz |
check_ntp_peer: Fix --help output for -m and -n
Fix the threshold specifications in the example for checking the number
of truechimers.
Reported by Marc Haber on the "nagios-users" mailing list (Message-ID:
<20120722142840.GA6931@torres.zugschlus.de>).
Diffstat (limited to 'plugins/check_ntp_peer.c')
-rw-r--r-- | plugins/check_ntp_peer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c index 7e93e451..50cb7b19 100644 --- a/plugins/check_ntp_peer.c +++ b/plugins/check_ntp_peer.c | |||
@@ -704,7 +704,7 @@ void print_help(void){ | |||
704 | printf(" %s\n", ("./check_ntp_peer -H ntpserv -w 0.5 -c 1 -j -1:100 -k -1:200")); | 704 | printf(" %s\n", ("./check_ntp_peer -H ntpserv -w 0.5 -c 1 -j -1:100 -k -1:200")); |
705 | printf("\n"); | 705 | printf("\n"); |
706 | printf(" %s\n", _("Only check the number of usable time sources (\"truechimers\"):")); | 706 | printf(" %s\n", _("Only check the number of usable time sources (\"truechimers\"):")); |
707 | printf(" %s\n", ("./check_ntp_peer -H ntpserv -m :5 -n :3")); | 707 | printf(" %s\n", ("./check_ntp_peer -H ntpserv -m @5 -n @3")); |
708 | printf("\n"); | 708 | printf("\n"); |
709 | printf(" %s\n", _("Check only stratum:")); | 709 | printf(" %s\n", _("Check only stratum:")); |
710 | printf(" %s\n", ("./check_ntp_peer -H ntpserv -W 4 -C 6")); | 710 | printf(" %s\n", ("./check_ntp_peer -H ntpserv -W 4 -C 6")); |