aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_ntp_peer.c
diff options
context:
space:
mode:
authorGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2012-08-06 20:37:43 +0200
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2012-08-06 20:37:43 +0200
commit48b83c45afa32481ae36f17e1723fda5132acffa (patch)
tree1066d57947fbf957ef966540e5fd251df879d410 /plugins/check_ntp_peer.c
parent3c10d84ea21c91c4f14cb241f5c7f24e4536476a (diff)
downloadmonitoring-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>).
Diffstat (limited to 'plugins/check_ntp_peer.c')
-rw-r--r--plugins/check_ntp_peer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c
index f0dd2d87..7e93e451 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");