summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--THANKS.in1
-rw-r--r--plugins/check_disk.c10
3 files changed, 7 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index 932b217..c5b591a 100644
--- a/NEWS
+++ b/NEWS
@@ -31,6 +31,7 @@ This file documents the major additions and syntax changes between releases.
31 negate timeout result is now configurable 31 negate timeout result is now configurable
32 Fixed segfault in check_mysql with old slaves (#2696823 - Oskar Ahner) 32 Fixed segfault in check_mysql with old slaves (#2696823 - Oskar Ahner)
33 check_nt can return UNKNOWN on timeouts (-u) 33 check_nt can return UNKNOWN on timeouts (-u)
34 Fixed typos for check_disk (Chris Pepper)
34 35
351.4.13 25th Sept 2008 361.4.13 25th Sept 2008
36 Fix Debian bug #460097: check_http --max-age broken (Hilko Bengen) 37 Fix Debian bug #460097: check_http --max-age broken (Hilko Bengen)
diff --git a/THANKS.in b/THANKS.in
index 30bf06c..5417f66 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -249,3 +249,4 @@ Olli Hauer
249Richard Edward Horner 249Richard Edward Horner
250John Barbuto 250John Barbuto
251Oskar Ahner 251Oskar Ahner
252Chris Pepper
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 98a061f..5c0eec5 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -661,19 +661,19 @@ process_arguments (int argc, char **argv)
661 break; 661 break;
662 case 'E': 662 case 'E':
663 if (path_selected) 663 if (path_selected)
664 die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set -E before selecting pathes\n")); 664 die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set -E before selecting paths\n"));
665 exact_match = TRUE; 665 exact_match = TRUE;
666 break; 666 break;
667 case 'g': 667 case 'g':
668 if (path_selected) 668 if (path_selected)
669 die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set group value before selecting pathes \n")); 669 die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set group value before selecting paths\n"));
670 group = optarg; 670 group = optarg;
671 break; 671 break;
672 case 'I': 672 case 'I':
673 cflags |= REG_ICASE; 673 cflags |= REG_ICASE;
674 case 'i': 674 case 'i':
675 if (!path_selected) 675 if (!path_selected)
676 die (STATE_UNKNOWN, "DISK %s: %s\n", _("UNKNOWN"), _("Pathes need to be selected before using -i/-I. Use -A to select all pathes explicitly")); 676 die (STATE_UNKNOWN, "DISK %s: %s\n", _("UNKNOWN"), _("Paths need to be selected before using -i/-I. Use -A to select all paths explicitly"));
677 err = regcomp(&re, optarg, cflags); 677 err = regcomp(&re, optarg, cflags);
678 if (err != 0) { 678 if (err != 0) {
679 regerror (err, &re, errbuf, MAX_INPUT_BUFFER); 679 regerror (err, &re, errbuf, MAX_INPUT_BUFFER);
@@ -930,7 +930,7 @@ print_help (void)
930 printf (" %s\n", "-e, --errors-only"); 930 printf (" %s\n", "-e, --errors-only");
931 printf (" %s\n", _("Display only devices/mountpoints with errors")); 931 printf (" %s\n", _("Display only devices/mountpoints with errors"));
932 printf (" %s\n", "-g, --group=NAME"); 932 printf (" %s\n", "-g, --group=NAME");
933 printf (" %s\n", _("Group pathes. Thresholds apply to (free-)space of all partitions together")); 933 printf (" %s\n", _("Group paths. Thresholds apply to (free-)space of all partitions together"));
934 printf (" %s\n", "-k, --kilobytes"); 934 printf (" %s\n", "-k, --kilobytes");
935 printf (" %s\n", _("Same as '--units kB'")); 935 printf (" %s\n", _("Same as '--units kB'"));
936 printf (" %s\n", "-l, --local"); 936 printf (" %s\n", "-l, --local");
@@ -943,7 +943,7 @@ print_help (void)
943 printf (" %s\n", "-m, --megabytes"); 943 printf (" %s\n", "-m, --megabytes");
944 printf (" %s\n", _("Same as '--units MB'")); 944 printf (" %s\n", _("Same as '--units MB'"));
945 printf (" %s\n", "-A, --all"); 945 printf (" %s\n", "-A, --all");
946 printf (" %s\n", _("Explicitly select all pathes. This is equivalent to -R '.*'")); 946 printf (" %s\n", _("Explicitly select all paths. This is equivalent to -R '.*'"));
947 printf (" %s\n", "-R, --eregi-path=PATH, --eregi-partition=PARTITION"); 947 printf (" %s\n", "-R, --eregi-path=PATH, --eregi-partition=PARTITION");
948 printf (" %s\n", _("Case insensitive regular expression for path/partition (may be repeated)")); 948 printf (" %s\n", _("Case insensitive regular expression for path/partition (may be repeated)"));
949 printf (" %s\n", "-r, --ereg-path=PATH, --ereg-partition=PARTITION"); 949 printf (" %s\n", "-r, --ereg-path=PATH, --ereg-partition=PARTITION");