summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-01-26 15:55:03 (GMT)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-01-26 15:55:03 (GMT)
commit08d81dc7bd9a0c292b5dd7494da4b85cacb1c210 (patch)
tree0a158b51e182b96f4845fad21bf057730ec06544
parentb7676a7e6df517827f48c2f105261d5676b5e694 (diff)
downloadmonitoring-plugins-08d81dc7bd9a0c292b5dd7494da4b85cacb1c210.tar.gz
Fix help text of check_ntp_* (Bug #1880095)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1908 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--NEWS1
-rw-r--r--THANKS.in1
-rw-r--r--plugins/check_ntp_peer.c2
-rw-r--r--plugins/check_ntp_time.c3
4 files changed, 4 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 27dc51d..8e5a494 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,7 @@ This file documents the major additions and syntax changes between releases.
7 Fix segfault in check_ntp_time and (deprecated) check_ntp. (Bug #1862300) 7 Fix segfault in check_ntp_time and (deprecated) check_ntp. (Bug #1862300)
8 check_disk should now work with large file systems (2TB+) on all archs that supports it 8 check_disk should now work with large file systems (2TB+) on all archs that supports it
9 Fixed check_disk disk usage calculation when using --group=NAME (related to bug #1348746) 9 Fixed check_disk disk usage calculation when using --group=NAME (related to bug #1348746)
10 Fix help text of check_ntp_* (Bug #1880095)
10 11
111.4.11 13th December 2007 121.4.11 13th December 2007
12 Fixed check_http regression in 1.4.10 where following redirects to 13 Fixed check_http regression in 1.4.10 where following redirects to
diff --git a/THANKS.in b/THANKS.in
index abec771..2def3b1 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -232,3 +232,4 @@ Tom Payerle
232Alessandro Ren 232Alessandro Ren
233Harald Jenny 233Harald Jenny
234Matthias Urlichs 234Matthias Urlichs
235Jan Wagner
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c
index 3e518bc..d1b8b27 100644
--- a/plugins/check_ntp_peer.c
+++ b/plugins/check_ntp_peer.c
@@ -642,7 +642,7 @@ void print_help(void){
642 printf (" %s\n", _("Offset to result in critical status (seconds)")); 642 printf (" %s\n", _("Offset to result in critical status (seconds)"));
643 printf (" %s\n", "-W, --warning=THRESHOLD"); 643 printf (" %s\n", "-W, --warning=THRESHOLD");
644 printf (" %s\n", _("Warning threshold for stratum")); 644 printf (" %s\n", _("Warning threshold for stratum"));
645 printf (" %s\n", "-W, --critical=THRESHOLD"); 645 printf (" %s\n", "-C, --critical=THRESHOLD");
646 printf (" %s\n", _("Critical threshold for stratum")); 646 printf (" %s\n", _("Critical threshold for stratum"));
647 printf (" %s\n", "-j, --warning=THRESHOLD"); 647 printf (" %s\n", "-j, --warning=THRESHOLD");
648 printf (" %s\n", _("Warning threshold for jitter")); 648 printf (" %s\n", _("Warning threshold for jitter"));
diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c
index 767dcd9..16e4c3c 100644
--- a/plugins/check_ntp_time.c
+++ b/plugins/check_ntp_time.c
@@ -631,7 +631,6 @@ void
631print_usage(void) 631print_usage(void)
632{ 632{
633 printf (_("Usage:")); 633 printf (_("Usage:"));
634 printf(" %s -H <host> [-w <warn>] [-c <crit>] [-W <warn>] [-C <crit>]\n", progname); 634 printf(" %s -H <host> [-w <warn>] [-c <crit>] [-v verbose]\n", progname);
635 printf(" [-j <warn>] [-k <crit>] [-v verbose]\n");
636} 635}
637 636