diff options
author | Ton Voon <tonvoon@macbook-2.local> | 2009-05-07 22:28:56 +0100 |
---|---|---|
committer | Ton Voon <tonvoon@macbook-2.local> | 2009-05-07 22:28:56 +0100 |
commit | 430d093a6fcb98b7045d861a92e71be8868cc460 (patch) | |
tree | b2993572e7f1bf3a59944d087f66ab3672968976 | |
parent | 8e4c885ee1a8f057fbe550e2d5b85cc8079564df (diff) | |
download | monitoring-plugins-430d093a6fcb98b7045d861a92e71be8868cc460.tar.gz |
Fixed typo in check_disk
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | THANKS.in | 1 | ||||
-rw-r--r-- | plugins/check_disk.c | 10 |
3 files changed, 7 insertions, 5 deletions
@@ -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 | ||
35 | 1.4.13 25th Sept 2008 | 36 | 1.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) |
@@ -249,3 +249,4 @@ Olli Hauer | |||
249 | Richard Edward Horner | 249 | Richard Edward Horner |
250 | John Barbuto | 250 | John Barbuto |
251 | Oskar Ahner | 251 | Oskar Ahner |
252 | Chris Pepper | ||
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 98a061fb..5c0eec59 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"); |