diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-04-27 14:35:26 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-04-27 14:35:26 +0000 |
commit | ed62784a0b68959fd13fe5bc53a5aef4f17fbffa (patch) | |
tree | f479a5b8ad8cac8d6dcc506ba61aa5ec3fbb5bb3 /plugins/check_snmp.c | |
parent | 140a93ce6bce63df2d70841f2f78aa968ea997d6 (diff) | |
download | monitoring-plugins-ed62784a0b68959fd13fe5bc53a5aef4f17fbffa.tar.gz |
--help output cleanup (plus removal of spaces on blank lines)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1984 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_snmp.c')
-rw-r--r-- | plugins/check_snmp.c | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index 0406ae43..b9435651 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 | } |