diff options
| -rw-r--r-- | plugins/check_disk.c | 16 | ||||
| -rw-r--r-- | po/de.po | 25 | ||||
| -rw-r--r-- | po/fr.po | 25 | ||||
| -rw-r--r-- | po/monitoring-plugins.pot | 22 |
4 files changed, 76 insertions, 12 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 05e55022..7dc1c4b1 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 | |||
| 1027 | print_usage (void) | 1035 | print_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 | } |
| @@ -9,10 +9,11 @@ msgid "" | |||
| 9 | msgstr "" | 9 | msgstr "" |
| 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 "" | |||
| 321 | msgid "Could not compile regular expression" | 322 | msgid "Could not compile regular expression" |
| 322 | msgstr "" | 323 | msgstr "" |
| 323 | 324 | ||
| 324 | msgid "Must set a threshold value before using -r/-R\n" | 325 | msgid "" |
| 326 | "Must set a threshold value before using -r/-R/-A (--ereg-path/--eregi-path/--" | ||
| 327 | "all)\n" | ||
| 325 | msgstr "" | 328 | msgstr "" |
| 326 | 329 | ||
| 327 | msgid "Regular expression did not match any path or disk" | 330 | msgid "Regular expression did not match any path or disk" |
| @@ -449,6 +452,22 @@ msgstr "" | |||
| 449 | msgid "Check only filesystems of indicated type (may be repeated)" | 452 | msgid "Check only filesystems of indicated type (may be repeated)" |
| 450 | msgstr "" | 453 | msgstr "" |
| 451 | 454 | ||
| 455 | msgid "General usage hints:" | ||
| 456 | msgstr "Allgemeine Nutzungshinweise:" | ||
| 457 | |||
| 458 | msgid "" | ||
| 459 | "- Arguments are positional! \"-w 5 -c 1 -p /foo -w6 -c2 -p /bar\" is not the " | ||
| 460 | "same as" | ||
| 461 | msgstr "" | ||
| 462 | |||
| 463 | msgid "\"-w 5 -c 1 -p /bar w6 -c2 -p /foo\"." | ||
| 464 | msgstr "" | ||
| 465 | |||
| 466 | msgid "" | ||
| 467 | "- The syntax is broadly: \"{thresholds a} {paths a} -C {thresholds b} " | ||
| 468 | "{thresholds b} ...\"" | ||
| 469 | msgstr "" | ||
| 470 | |||
| 452 | msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB" | 471 | msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB" |
| 453 | msgstr "" | 472 | msgstr "" |
| 454 | 473 | ||
| @@ -10,10 +10,11 @@ msgid "" | |||
| 10 | msgstr "" | 10 | msgstr "" |
| 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 "" | |||
| 320 | msgid "Could not compile regular expression" | 321 | msgid "Could not compile regular expression" |
| 321 | msgstr "Impossible de compiler l'expression rationnelle" | 322 | msgstr "Impossible de compiler l'expression rationnelle" |
| 322 | 323 | ||
| 323 | msgid "Must set a threshold value before using -r/-R\n" | 324 | msgid "" |
| 325 | "Must set a threshold value before using -r/-R/-A (--ereg-path/--eregi-path/--" | ||
| 326 | "all)\n" | ||
| 324 | msgstr "" | 327 | msgstr "" |
| 325 | 328 | ||
| 326 | msgid "Regular expression did not match any path or disk" | 329 | msgid "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 | ||
| 475 | msgid "General usage hints:" | ||
| 476 | msgstr "" | ||
| 477 | |||
| 478 | msgid "" | ||
| 479 | "- Arguments are positional! \"-w 5 -c 1 -p /foo -w6 -c2 -p /bar\" is not the " | ||
| 480 | "same as" | ||
| 481 | msgstr "" | ||
| 482 | |||
| 483 | msgid "\"-w 5 -c 1 -p /bar w6 -c2 -p /foo\"." | ||
| 484 | msgstr "" | ||
| 485 | |||
| 486 | msgid "" | ||
| 487 | "- The syntax is broadly: \"{thresholds a} {paths a} -C {thresholds b} " | ||
| 488 | "{thresholds b} ...\"" | ||
| 489 | msgstr "" | ||
| 490 | |||
| 472 | msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB" | 491 | msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB" |
| 473 | msgstr "Vérifie /tmp à 10% et /var à 5% et / à 100MB et 50MB" | 492 | msgstr "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 af48f036..2cd94b15 100644 --- a/po/monitoring-plugins.pot +++ b/po/monitoring-plugins.pot | |||
| @@ -8,7 +8,7 @@ msgid "" | |||
| 8 | msgstr "" | 8 | msgstr "" |
| 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 "" | |||
| 305 | msgid "Could not compile regular expression" | 305 | msgid "Could not compile regular expression" |
| 306 | msgstr "" | 306 | msgstr "" |
| 307 | 307 | ||
| 308 | msgid "Must set a threshold value before using -r/-R\n" | 308 | msgid "" |
| 309 | "Must set a threshold value before using -r/-R/-A (--ereg-path/--eregi-path/--" | ||
| 310 | "all)\n" | ||
| 309 | msgstr "" | 311 | msgstr "" |
| 310 | 312 | ||
| 311 | msgid "Regular expression did not match any path or disk" | 313 | msgid "Regular expression did not match any path or disk" |
| @@ -427,6 +429,22 @@ msgstr "" | |||
| 427 | msgid "Check only filesystems of indicated type (may be repeated)" | 429 | msgid "Check only filesystems of indicated type (may be repeated)" |
| 428 | msgstr "" | 430 | msgstr "" |
| 429 | 431 | ||
| 432 | msgid "General usage hints:" | ||
| 433 | msgstr "" | ||
| 434 | |||
| 435 | msgid "" | ||
| 436 | "- Arguments are positional! \"-w 5 -c 1 -p /foo -w6 -c2 -p /bar\" is not the " | ||
| 437 | "same as" | ||
| 438 | msgstr "" | ||
| 439 | |||
| 440 | msgid "\"-w 5 -c 1 -p /bar w6 -c2 -p /foo\"." | ||
| 441 | msgstr "" | ||
| 442 | |||
| 443 | msgid "" | ||
| 444 | "- The syntax is broadly: \"{thresholds a} {paths a} -C {thresholds b} " | ||
| 445 | "{thresholds b} ...\"" | ||
| 446 | msgstr "" | ||
| 447 | |||
| 430 | msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB" | 448 | msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB" |
| 431 | msgstr "" | 449 | msgstr "" |
| 432 | 450 | ||
