diff options
Diffstat (limited to 'plugins/check_snmp.c')
-rw-r--r-- | plugins/check_snmp.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index fdb5819..f04ca85 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
@@ -806,10 +806,10 @@ print_help (void) | |||
806 | 806 | ||
807 | print_usage (); | 807 | print_usage (); |
808 | 808 | ||
809 | printf (_(UT_HELP_VRSN)); | 809 | printf (UT_HELP_VRSN); |
810 | printf (_(UT_EXTRA_OPTS)); | 810 | printf (UT_EXTRA_OPTS); |
811 | 811 | ||
812 | printf (_(UT_HOST_PORT), 'p', DEFAULT_PORT); | 812 | printf (UT_HOST_PORT, 'p', DEFAULT_PORT); |
813 | 813 | ||
814 | /* SNMP and Authentication Protocol */ | 814 | /* SNMP and Authentication Protocol */ |
815 | printf (" %s\n", "-n, --next"); | 815 | printf (" %s\n", "-n, --next"); |
@@ -867,11 +867,11 @@ print_help (void) | |||
867 | printf (" %s\n", "-D, --output-delimiter=STRING"); | 867 | printf (" %s\n", "-D, --output-delimiter=STRING"); |
868 | printf (" %s\n", _("Separates output on multiple OID requests")); | 868 | printf (" %s\n", _("Separates output on multiple OID requests")); |
869 | 869 | ||
870 | printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); | 870 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
871 | printf (" %s\n", "-e, --retries=INTEGER"); | 871 | printf (" %s\n", "-e, --retries=INTEGER"); |
872 | printf (" %s\n", _("Number of retries to be used in the requests")); | 872 | printf (" %s\n", _("Number of retries to be used in the requests")); |
873 | 873 | ||
874 | printf (_(UT_VERBOSE)); | 874 | printf (UT_VERBOSE); |
875 | 875 | ||
876 | printf ("\n"); | 876 | printf ("\n"); |
877 | printf ("%s\n", _("This plugin uses the 'snmpget' command included with the NET-SNMP package.")); | 877 | printf ("%s\n", _("This plugin uses the 'snmpget' command included with the NET-SNMP package.")); |
@@ -883,17 +883,17 @@ print_help (void) | |||
883 | printf (" %s\n", _("- Multiple OIDs may be indicated by a comma- or space-delimited list (lists with")); | 883 | printf (" %s\n", _("- Multiple OIDs may be indicated by a comma- or space-delimited list (lists with")); |
884 | printf (" %s\n", _("internal spaces must be quoted) [max 8 OIDs]")); | 884 | printf (" %s\n", _("internal spaces must be quoted) [max 8 OIDs]")); |
885 | 885 | ||
886 | printf(" -%s", _(UT_THRESHOLDS_NOTES)); | 886 | printf(" -%s", UT_THRESHOLDS_NOTES); |
887 | 887 | ||
888 | printf (" %s\n", _("- When checking multiple OIDs, separate ranges by commas like '-w 1:10,1:,:20'")); | 888 | printf (" %s\n", _("- When checking multiple OIDs, separate ranges by commas like '-w 1:10,1:,:20'")); |
889 | printf (" %s\n", _("- Note that only one string and one regex may be checked at present")); | 889 | printf (" %s\n", _("- Note that only one string and one regex may be checked at present")); |
890 | printf (" %s\n", _("- All evaluation methods other than PR, STR, and SUBSTR expect that the value")); | 890 | printf (" %s\n", _("- All evaluation methods other than PR, STR, and SUBSTR expect that the value")); |
891 | printf (" %s\n", _("returned from the SNMP query is an unsigned integer.")); | 891 | printf (" %s\n", _("returned from the SNMP query is an unsigned integer.")); |
892 | #ifdef NP_EXTRA_OPTS | 892 | #ifdef NP_EXTRA_OPTS |
893 | printf (" -%s", _(UT_EXTRA_OPTS_NOTES)); | 893 | printf (" -%s", UT_EXTRA_OPTS_NOTES); |
894 | #endif | 894 | #endif |
895 | 895 | ||
896 | printf (_(UT_SUPPORT)); | 896 | printf (UT_SUPPORT); |
897 | } | 897 | } |
898 | 898 | ||
899 | 899 | ||