diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2006-10-24 21:01:00 +0000 |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2006-10-24 21:01:00 +0000 |
commit | 8624e4562b6e1712fd1c3588f5ea70c373503068 (patch) | |
tree | 6f92f9851027b69eed78c9efef5cc07fa392b6d5 /plugins | |
parent | 2024094a6e5e82c5bc15e4fde08900de62a3e8e8 (diff) | |
download | monitoring-plugins-8624e4562b6e1712fd1c3588f5ea70c373503068.tar.gz |
next round of localization fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1523 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_nt.c | 99 |
1 files changed, 50 insertions, 49 deletions
diff --git a/plugins/check_nt.c b/plugins/check_nt.c index 45a2bb0f..0dddba5c 100644 --- a/plugins/check_nt.c +++ b/plugins/check_nt.c | |||
@@ -629,7 +629,7 @@ void print_help(void) | |||
629 | 629 | ||
630 | printf (_(UT_HELP_VRSN)); | 630 | printf (_(UT_HELP_VRSN)); |
631 | 631 | ||
632 | printf ("%s\n", _("Options:")); | 632 | printf ("%s\n", _("Options:")); |
633 | printf (" %s\n", "-H, --hostname=HOST"); | 633 | printf (" %s\n", "-H, --hostname=HOST"); |
634 | printf (" %s\n", _("Name of the host to check")); | 634 | printf (" %s\n", _("Name of the host to check")); |
635 | printf (" %s\n", "-p, --port=INTEGER"); | 635 | printf (" %s\n", "-p, --port=INTEGER"); |
@@ -649,54 +649,55 @@ void print_help(void) | |||
649 | printf (" %s\n", "-V, --version"); | 649 | printf (" %s\n", "-V, --version"); |
650 | printf (" %s\n", _("Print version information")); | 650 | printf (" %s\n", _("Print version information")); |
651 | printf (" %s\n", "-v, --variable=STRING"); | 651 | printf (" %s\n", "-v, --variable=STRING"); |
652 | printf (" %s\n", _("Variable to check. Valid variables are:")); | 652 | printf (" %s\n\n", _("Variable to check")); |
653 | printf (_("\ | 653 | printf ("%s\n", _("Valid variables are:")); |
654 | CLIENTVERSION = Get the NSClient version\n\ | 654 | printf (" %s", "CLIENTVERSION ="); |
655 | If -l <version> is specified, will return warning if versions differ.\n")); | 655 | printf (" %s\n", _("Get the NSClient version")); |
656 | printf (_("\ | 656 | printf (" %s\n", _("If -l <version> is specified, will return warning if versions differ.")); |
657 | CPULOAD = Average CPU load on last x minutes.\n\ | 657 | printf (" %s\n", "CPULOAD =" |
658 | Request a -l parameter with the following syntax:\n\ | 658 | printf (" %s\n", _("Average CPU load on last x minutes.")); |
659 | -l <minutes range>,<warning threshold>,<critical threshold>.\n\ | 659 | printf (" %s\n", _("Request a -l parameter with the following syntax:")); |
660 | <minute range> should be less than 24*60.\n\ | 660 | printf (" %s\n", _("-l <minutes range>,<warning threshold>,<critical threshold>.")); |
661 | Thresholds are percentage and up to 10 requests can be done in one shot.\n\ | 661 | printf (" %s\n", _("<minute range> should be less than 24*60.")); |
662 | ie: -l 60,90,95,120,90,95\n")); | 662 | printf (" %s\n", _("Thresholds are percentage and up to 10 requests can be done in one shot.")); |
663 | printf (_("\ | 663 | printf (" %s\n", "ie: -l 60,90,95,120,90,95"); |
664 | UPTIME = Get the uptime of the machine.\n\ | 664 | printf (" %s\n", "UPTIME ="); |
665 | No specific parameters. No warning or critical threshold\n")); | 665 | printf (" %s\n", _("Get the uptime of the machine.")); |
666 | printf (_("\ | 666 | printf (" %s\n", _("No specific parameters. No warning or critical threshold")); |
667 | USEDDISKSPACE = Size and percentage of disk use.\n\ | 667 | printf (" %s\n", "USEDDISKSPACE ="); |
668 | Request a -l parameter containing the drive letter only.\n\ | 668 | printf (" %s\n", _("Size and percentage of disk use.")); |
669 | Warning and critical thresholds can be specified with -w and -c.\n")); | 669 | printf (" %s\n", _("Request a -l parameter containing the drive letter only.")); |
670 | printf (_("\ | 670 | printf (" %s\n", _("Warning and critical thresholds can be specified with -w and -c.")); |
671 | MEMUSE = Memory use.\n\ | 671 | printf (" %s\n", "MEMUSE ="); |
672 | Warning and critical thresholds can be specified with -w and -c.\n")); | 672 | printf (" %s\n", _("Memory use.")); |
673 | printf (_("\ | 673 | printf (" %s\n", _("Warning and critical thresholds can be specified with -w and -c.")); |
674 | SERVICESTATE = Check the state of one or several services.\n\ | 674 | printf (" %s\n,", "SERVICESTATE ="); |
675 | Request a -l parameters with the following syntax:\n\ | 675 | printf (" %s\n", _("Check the state of one or several services.")); |
676 | -l <service1>,<service2>,<service3>,...\n\ | 676 | printf (" %s\n", _("Request a -l parameters with the following syntax:")); |
677 | You can specify -d SHOWALL in case you want to see working services\n\ | 677 | printf (" %s\n", _("-l <service1>,<service2>,<service3>,...")); |
678 | in the returned string.\n")); | 678 | printf (" %s\n", _("You can specify -d SHOWALL in case you want to see working services")); |
679 | printf (_("\ | 679 | printf (" %s\n", _("in the returned string.")); |
680 | PROCSTATE = Check if one or several process are running.\n\ | 680 | printf (" %s\n", "PROCSTATE ="); |
681 | Same syntax as SERVICESTATE.\n")); | 681 | printf (" %s\n", _("Check if one or several process are running.")); |
682 | printf (_("\ | 682 | printf (" %s\n", _("Same syntax as SERVICESTATE.")); |
683 | COUNTER = Check any performance counter of Windows NT/2000.\n\ | 683 | printf (" %s\n", "COUNTER ="); |
684 | Request a -l parameters with the following syntax:\n\ | 684 | printf (" %s\n", _("Check any performance counter of Windows NT/2000.")); |
685 | -l \"\\\\<performance object>\\\\counter\",\"<description>\n\ | 685 | printf (" %s\n", _("Request a -l parameters with the following syntax:")); |
686 | The <description> parameter is optional and \n\ | 686 | printf (" %s\n", _("-l \"\\\\<performance object>\\\\counter\",\"<description>")); |
687 | is given to a printf output command which requires a float parameter.\n\ | 687 | printf (" %s\n", _("The <description> parameter is optional and is given to a printf ")); |
688 | If <description> does not include \"%%\", it is used as a label.\n\ | 688 | printf (" %s\n", _("output command which requires a float parameter.")); |
689 | Some examples:\n\ | 689 | printf (" %s\n\n", _("If <description> does not include \"%%\", it is used as a label.")); |
690 | \"Paging file usage is %%.2f %%%%\"\n\ | 690 | printf (" %s\n", _("Some examples:")); |
691 | \"%%.f %%%% paging file used.\"\n")); | 691 | printf (" %s\n", "\"Paging file usage is %%.2f %%%%\""); |
692 | printf (_("Notes:\n\ | 692 | printf (" %s\n\n", "\"%%.f %%%% paging file used.\"")); |
693 | - The NSClient service should be running on the server to get any information\n\ | 693 | printf (_("Notes:")); |
694 | (http://nsclient.ready2run.nl).\n\ | 694 | printf (" %s\n", _("- The NSClient service should be running on the server to get any information")); |
695 | - Critical thresholds should be lower than warning thresholds\n\ | 695 | printf (" %s\n", "(http://nsclient.ready2run.nl)."); |
696 | - Default port 1248 is sometimes in use by other services. The error \n\ | 696 | printf (" %s\n", _("- Critical thresholds should be lower than warning thresholds")); |
697 | output when this happens contains \"Cannot map xxxxx to protocol number\". \n\ | 697 | printf (" %s\n", _("- Default port 1248 is sometimes in use by other services. The error")); |
698 | One fix for this is to change the port to something else on check_nt \n\ | 698 | printf (" %s\n", _("output when this happens contains \"Cannot map xxxxx to protocol number\".")); |
699 | and on the client service it\'s connecting to. \n")); | 699 | printf (" %s\n", _("One fix for this is to change the port to something else on check_nt ")); |
700 | printf (" %s\n", _("and on the client service it\'s connecting to.")); | ||
700 | } | 701 | } |
701 | 702 | ||
702 | 703 | ||