summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/check_disk.c16
-rw-r--r--po/de.po25
-rw-r--r--po/fr.po25
-rw-r--r--po/monitoring-plugins.pot22
4 files changed, 76 insertions, 12 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 05e5502..7dc1c4b 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -798,7 +798,7 @@ process_arguments (int argc, char **argv)
798 crit_freespace_percent || warn_usedspace_units || crit_usedspace_units || 798 crit_freespace_percent || warn_usedspace_units || crit_usedspace_units ||
799 warn_usedspace_percent || crit_usedspace_percent || warn_usedinodes_percent || 799 warn_usedspace_percent || crit_usedspace_percent || warn_usedinodes_percent ||
800 crit_usedinodes_percent || warn_freeinodes_percent || crit_freeinodes_percent )) { 800 crit_usedinodes_percent || warn_freeinodes_percent || crit_freeinodes_percent )) {
801 die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set a threshold value before using -r/-R\n")); 801 die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set a threshold value before using -r/-R/-A (--ereg-path/--eregi-path/--all)\n"));
802 } 802 }
803 803
804 err = regcomp(&re, optarg, cflags); 804 err = regcomp(&re, optarg, cflags);
@@ -1009,12 +1009,20 @@ print_help (void)
1009 printf (" %s\n", _("Check only filesystems of indicated type (may be repeated)")); 1009 printf (" %s\n", _("Check only filesystems of indicated type (may be repeated)"));
1010 1010
1011 printf ("\n"); 1011 printf ("\n");
1012 printf ("%s\n", _("General usage hints:"));
1013 printf (" %s\n", _("- Arguments are positional! \"-w 5 -c 1 -p /foo -w6 -c2 -p /bar\" is not the same as"));
1014 printf (" %s\n", _("\"-w 5 -c 1 -p /bar w6 -c2 -p /foo\"."));
1015 printf (" %s\n", _("- The syntax is broadly: \"{thresholds a} {paths a} -C {thresholds b} {thresholds b} ...\""));
1016
1017
1018
1019 printf ("\n");
1012 printf ("%s\n", _("Examples:")); 1020 printf ("%s\n", _("Examples:"));
1013 printf (" %s\n", "check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 -p /"); 1021 printf (" %s\n", "check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 -p /");
1014 printf (" %s\n", _("Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB")); 1022 printf (" %s\n\n", _("Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB"));
1015 printf (" %s\n", "check_disk -w 100 -c 50 -C -w 1000 -c 500 -g sidDATA -r '^/oracle/SID/data.*$'"); 1023 printf (" %s\n", "check_disk -w 100 -c 50 -C -w 1000 -c 500 -g sidDATA -r '^/oracle/SID/data.*$'");
1016 printf (" %s\n", _("Checks all filesystems not matching -r at 100M and 50M. The fs matching the -r regex")); 1024 printf (" %s\n", _("Checks all filesystems not matching -r at 100M and 50M. The fs matching the -r regex"));
1017 printf (" %s\n", _("are grouped which means the freespace thresholds are applied to all disks together")); 1025 printf (" %s\n\n", _("are grouped which means the freespace thresholds are applied to all disks together"));
1018 printf (" %s\n", "check_disk -w 100 -c 50 -C -w 1000 -c 500 -p /foo -C -w 5% -c 3% -p /bar"); 1026 printf (" %s\n", "check_disk -w 100 -c 50 -C -w 1000 -c 500 -p /foo -C -w 5% -c 3% -p /bar");
1019 printf (" %s\n", _("Checks /foo for 1000M/500M and /bar for 5/3%. All remaining volumes use 100M/50M")); 1027 printf (" %s\n", _("Checks /foo for 1000M/500M and /bar for 5/3%. All remaining volumes use 100M/50M"));
1020 1028
@@ -1027,7 +1035,7 @@ void
1027print_usage (void) 1035print_usage (void)
1028{ 1036{
1029 printf ("%s\n", _("Usage:")); 1037 printf ("%s\n", _("Usage:"));
1030 printf (" %s {-w absolute_limit |-w percentage_limit% | -W inode_percentage_limit } {-c absolute_limit|-c percentage_limit% | -K inode_percentage_limit } {-p path | -x device}\n", progname); 1038 printf (" %s {-w absolute_limit |-w percentage_limit%% | -W inode_percentage_limit } {-c absolute_limit|-c percentage_limit%% | -K inode_percentage_limit } {-p path | -x device}\n", progname);
1031 printf ("[-C] [-E] [-e] [-f] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ]\n"); 1039 printf ("[-C] [-E] [-e] [-f] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ]\n");
1032 printf ("[-t timeout] [-u unit] [-v] [-X type] [-N type]\n"); 1040 printf ("[-t timeout] [-u unit] [-v] [-X type] [-N type]\n");
1033} 1041}
diff --git a/po/de.po b/po/de.po
index d597203..0dedfc1 100644
--- a/po/de.po
+++ b/po/de.po
@@ -9,10 +9,11 @@ msgid ""
9msgstr "" 9msgstr ""
10"Project-Id-Version: PACKAGE VERSION\n" 10"Project-Id-Version: PACKAGE VERSION\n"
11"Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n" 11"Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n"
12"POT-Creation-Date: 2023-09-05 00:31+0200\n" 12"POT-Creation-Date: 2023-09-21 12:09+0200\n"
13"PO-Revision-Date: 2004-12-23 17:46+0100\n" 13"PO-Revision-Date: 2004-12-23 17:46+0100\n"
14"Last-Translator: \n" 14"Last-Translator: \n"
15"Language-Team: Monitoring Plugin Development Team <devel@monitoring-plugins.org>\n" 15"Language-Team: Monitoring Plugin Development Team <devel@monitoring-plugins."
16"org>\n"
16"Language: de\n" 17"Language: de\n"
17"MIME-Version: 1.0\n" 18"MIME-Version: 1.0\n"
18"Content-Type: text/plain; charset=UTF-8\n" 19"Content-Type: text/plain; charset=UTF-8\n"
@@ -321,7 +322,9 @@ msgstr ""
321msgid "Could not compile regular expression" 322msgid "Could not compile regular expression"
322msgstr "" 323msgstr ""
323 324
324msgid "Must set a threshold value before using -r/-R\n" 325msgid ""
326"Must set a threshold value before using -r/-R/-A (--ereg-path/--eregi-path/--"
327"all)\n"
325msgstr "" 328msgstr ""
326 329
327msgid "Regular expression did not match any path or disk" 330msgid "Regular expression did not match any path or disk"
@@ -449,6 +452,22 @@ msgstr ""
449msgid "Check only filesystems of indicated type (may be repeated)" 452msgid "Check only filesystems of indicated type (may be repeated)"
450msgstr "" 453msgstr ""
451 454
455msgid "General usage hints:"
456msgstr "Allgemeine Nutzungshinweise:"
457
458msgid ""
459"- Arguments are positional! \"-w 5 -c 1 -p /foo -w6 -c2 -p /bar\" is not the "
460"same as"
461msgstr ""
462
463msgid "\"-w 5 -c 1 -p /bar w6 -c2 -p /foo\"."
464msgstr ""
465
466msgid ""
467"- The syntax is broadly: \"{thresholds a} {paths a} -C {thresholds b} "
468"{thresholds b} ...\""
469msgstr ""
470
452msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB" 471msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB"
453msgstr "" 472msgstr ""
454 473
diff --git a/po/fr.po b/po/fr.po
index dfc2c5d..ec5651d 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -10,10 +10,11 @@ msgid ""
10msgstr "" 10msgstr ""
11"Project-Id-Version: PACKAGE VERSION\n" 11"Project-Id-Version: PACKAGE VERSION\n"
12"Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n" 12"Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n"
13"POT-Creation-Date: 2023-09-05 00:31+0200\n" 13"POT-Creation-Date: 2023-09-21 12:09+0200\n"
14"PO-Revision-Date: 2010-04-21 23:38-0400\n" 14"PO-Revision-Date: 2010-04-21 23:38-0400\n"
15"Last-Translator: \n" 15"Last-Translator: \n"
16"Language-Team: Monitoring Plugin Development Team <devel@monitoring-plugins.org>\n" 16"Language-Team: Monitoring Plugin Development Team <devel@monitoring-plugins."
17"org>\n"
17"Language: fr\n" 18"Language: fr\n"
18"MIME-Version: 1.0\n" 19"MIME-Version: 1.0\n"
19"Content-Type: text/plain; charset=UTF-8\n" 20"Content-Type: text/plain; charset=UTF-8\n"
@@ -320,7 +321,9 @@ msgstr ""
320msgid "Could not compile regular expression" 321msgid "Could not compile regular expression"
321msgstr "Impossible de compiler l'expression rationnelle" 322msgstr "Impossible de compiler l'expression rationnelle"
322 323
323msgid "Must set a threshold value before using -r/-R\n" 324msgid ""
325"Must set a threshold value before using -r/-R/-A (--ereg-path/--eregi-path/--"
326"all)\n"
324msgstr "" 327msgstr ""
325 328
326msgid "Regular expression did not match any path or disk" 329msgid "Regular expression did not match any path or disk"
@@ -469,6 +472,22 @@ msgstr ""
469"Ignorer tout les systèmes de fichiers qui correspondent au type indiqué " 472"Ignorer tout les systèmes de fichiers qui correspondent au type indiqué "
470"(peut être utilisé plusieurs fois)" 473"(peut être utilisé plusieurs fois)"
471 474
475msgid "General usage hints:"
476msgstr ""
477
478msgid ""
479"- Arguments are positional! \"-w 5 -c 1 -p /foo -w6 -c2 -p /bar\" is not the "
480"same as"
481msgstr ""
482
483msgid "\"-w 5 -c 1 -p /bar w6 -c2 -p /foo\"."
484msgstr ""
485
486msgid ""
487"- The syntax is broadly: \"{thresholds a} {paths a} -C {thresholds b} "
488"{thresholds b} ...\""
489msgstr ""
490
472msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB" 491msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB"
473msgstr "Vérifie /tmp à 10% et /var à 5% et / à 100MB et 50MB" 492msgstr "Vérifie /tmp à 10% et /var à 5% et / à 100MB et 50MB"
474 493
diff --git a/po/monitoring-plugins.pot b/po/monitoring-plugins.pot
index af48f03..2cd94b1 100644
--- a/po/monitoring-plugins.pot
+++ b/po/monitoring-plugins.pot
@@ -8,7 +8,7 @@ msgid ""
8msgstr "" 8msgstr ""
9"Project-Id-Version: PACKAGE VERSION\n" 9"Project-Id-Version: PACKAGE VERSION\n"
10"Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n" 10"Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n"
11"POT-Creation-Date: 2023-09-12 01:33+0200\n" 11"POT-Creation-Date: 2023-09-21 12:09+0200\n"
12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14"Language-Team: LANGUAGE <LL@li.org>\n" 14"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -305,7 +305,9 @@ msgstr ""
305msgid "Could not compile regular expression" 305msgid "Could not compile regular expression"
306msgstr "" 306msgstr ""
307 307
308msgid "Must set a threshold value before using -r/-R\n" 308msgid ""
309"Must set a threshold value before using -r/-R/-A (--ereg-path/--eregi-path/--"
310"all)\n"
309msgstr "" 311msgstr ""
310 312
311msgid "Regular expression did not match any path or disk" 313msgid "Regular expression did not match any path or disk"
@@ -427,6 +429,22 @@ msgstr ""
427msgid "Check only filesystems of indicated type (may be repeated)" 429msgid "Check only filesystems of indicated type (may be repeated)"
428msgstr "" 430msgstr ""
429 431
432msgid "General usage hints:"
433msgstr ""
434
435msgid ""
436"- Arguments are positional! \"-w 5 -c 1 -p /foo -w6 -c2 -p /bar\" is not the "
437"same as"
438msgstr ""
439
440msgid "\"-w 5 -c 1 -p /bar w6 -c2 -p /foo\"."
441msgstr ""
442
443msgid ""
444"- The syntax is broadly: \"{thresholds a} {paths a} -C {thresholds b} "
445"{thresholds b} ...\""
446msgstr ""
447
430msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB" 448msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB"
431msgstr "" 449msgstr ""
432 450