summaryrefslogtreecommitdiffstats
path: root/plugins/check_snmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_snmp.c')
-rw-r--r--plugins/check_snmp.c39
1 files changed, 21 insertions, 18 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index 0406ae4..b943565 100644
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
@@ -993,27 +993,30 @@ print_help (void)
993 993
994 printf (_(UT_VERBOSE)); 994 printf (_(UT_VERBOSE));
995 995
996 printf ("%s\n", _("This plugin uses the 'snmpget' command included with the NET-SNMP package.")); 996 printf ("\n");
997 printf ("%s\n", _("This plugin uses the 'snmpget' command included with the NET-SNMP package."));
997 printf ("%s\n", _("if you don't have the package installed, you will need to download it from")); 998 printf ("%s\n", _("if you don't have the package installed, you will need to download it from"));
998 printf ("%s\n", _("http://net-snmp.sourceforge.net before you can use this plugin.")); 999 printf ("%s\n", _("http://net-snmp.sourceforge.net before you can use this plugin."));
999 1000
1000 printf ("%s\n", _("- Multiple OIDs may be indicated by a comma- or space-delimited list (lists with")); 1001 printf ("\n");
1001 printf ("%s\n", _(" internal spaces must be quoted) [max 8 OIDs]")); 1002 printf ("%s\n", _("Notes:"));
1002 1003 printf (" %s\n", _("- Multiple OIDs may be indicated by a comma- or space-delimited list (lists with"));
1003 printf ("%s\n", _("- Ranges are inclusive and are indicated with colons. When specified as")); 1004 printf (" %s\n", _("internal spaces must be quoted) [max 8 OIDs]"));
1004 printf ("%s\n", _(" 'min:max' a STATE_OK will be returned if the result is within the indicated")); 1005
1005 printf ("%s\n", _(" range or is equal to the upper or lower bound. A non-OK state will be")); 1006 printf (" %s\n", _("- Ranges are inclusive and are indicated with colons. When specified as"));
1006 printf ("%s\n", _(" returned if the result is outside the specified range.")); 1007 printf (" %s\n", _("'min:max' a STATE_OK will be returned if the result is within the indicated"));
1007 1008 printf (" %s\n", _("range or is equal to the upper or lower bound. A non-OK state will be"));
1008 printf ("%s\n", _("- If specified in the order 'max:min' a non-OK state will be returned if the")); 1009 printf (" %s\n", _("returned if the result is outside the specified range."));
1009 printf ("%s\n", _(" result is within the (inclusive) range.")); 1010
1010 1011 printf (" %s\n", _("- If specified in the order 'max:min' a non-OK state will be returned if the"));
1011 printf ("%s\n", _("- Upper or lower bounds may be omitted to skip checking the respective limit.")); 1012 printf (" %s\n", _("result is within the (inclusive) range."));
1012 printf ("%s\n", _("- Bare integers are interpreted as upper limits.")); 1013
1013 printf ("%s\n", _("- When checking multiple OIDs, separate ranges by commas like '-w 1:10,1:,:20'")); 1014 printf (" %s\n", _("- Upper or lower bounds may be omitted to skip checking the respective limit."));
1014 printf ("%s\n", _("- Note that only one string and one regex may be checked at present")); 1015 printf (" %s\n", _("- Bare integers are interpreted as upper limits."));
1015 printf ("%s\n", _("- All evaluation methods other than PR, STR, and SUBSTR expect that the value")); 1016 printf (" %s\n", _("- When checking multiple OIDs, separate ranges by commas like '-w 1:10,1:,:20'"));
1016 printf ("%s\n", _(" returned from the SNMP query is an unsigned integer.")); 1017 printf (" %s\n", _("- Note that only one string and one regex may be checked at present"));
1018 printf (" %s\n", _("- All evaluation methods other than PR, STR, and SUBSTR expect that the value"));
1019 printf (" %s\n", _("returned from the SNMP query is an unsigned integer."));
1017 1020
1018 printf (_(UT_SUPPORT)); 1021 printf (_(UT_SUPPORT));
1019} 1022}