aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_snmp.c
diff options
context:
space:
mode:
authorGravatar Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> 2008-04-27 14:35:26 +0000
committerGravatar Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> 2008-04-27 14:35:26 +0000
commited62784a0b68959fd13fe5bc53a5aef4f17fbffa (patch)
treef479a5b8ad8cac8d6dcc506ba61aa5ec3fbb5bb3 /plugins/check_snmp.c
parent140a93ce6bce63df2d70841f2f78aa968ea997d6 (diff)
downloadmonitoring-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.c39
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)
printf (_(UT_VERBOSE));
- printf ("%s\n", _("This plugin uses the 'snmpget' command included with the NET-SNMP package."));
+ printf ("\n");
+ printf ("%s\n", _("This plugin uses the 'snmpget' command included with the NET-SNMP package."));
printf ("%s\n", _("if you don't have the package installed, you will need to download it from"));
printf ("%s\n", _("http://net-snmp.sourceforge.net before you can use this plugin."));
- printf ("%s\n", _("- Multiple OIDs may be indicated by a comma- or space-delimited list (lists with"));
- printf ("%s\n", _(" internal spaces must be quoted) [max 8 OIDs]"));
-
- printf ("%s\n", _("- Ranges are inclusive and are indicated with colons. When specified as"));
- printf ("%s\n", _(" 'min:max' a STATE_OK will be returned if the result is within the indicated"));
- printf ("%s\n", _(" range or is equal to the upper or lower bound. A non-OK state will be"));
- printf ("%s\n", _(" returned if the result is outside the specified range."));
-
- printf ("%s\n", _("- If specified in the order 'max:min' a non-OK state will be returned if the"));
- printf ("%s\n", _(" result is within the (inclusive) range."));
-
- printf ("%s\n", _("- Upper or lower bounds may be omitted to skip checking the respective limit."));
- printf ("%s\n", _("- Bare integers are interpreted as upper limits."));
- printf ("%s\n", _("- When checking multiple OIDs, separate ranges by commas like '-w 1:10,1:,:20'"));
- printf ("%s\n", _("- Note that only one string and one regex may be checked at present"));
- printf ("%s\n", _("- All evaluation methods other than PR, STR, and SUBSTR expect that the value"));
- printf ("%s\n", _(" returned from the SNMP query is an unsigned integer."));
+ printf ("\n");
+ printf ("%s\n", _("Notes:"));
+ printf (" %s\n", _("- Multiple OIDs may be indicated by a comma- or space-delimited list (lists with"));
+ printf (" %s\n", _("internal spaces must be quoted) [max 8 OIDs]"));
+
+ printf (" %s\n", _("- Ranges are inclusive and are indicated with colons. When specified as"));
+ printf (" %s\n", _("'min:max' a STATE_OK will be returned if the result is within the indicated"));
+ printf (" %s\n", _("range or is equal to the upper or lower bound. A non-OK state will be"));
+ printf (" %s\n", _("returned if the result is outside the specified range."));
+
+ printf (" %s\n", _("- If specified in the order 'max:min' a non-OK state will be returned if the"));
+ printf (" %s\n", _("result is within the (inclusive) range."));
+
+ printf (" %s\n", _("- Upper or lower bounds may be omitted to skip checking the respective limit."));
+ printf (" %s\n", _("- Bare integers are interpreted as upper limits."));
+ printf (" %s\n", _("- When checking multiple OIDs, separate ranges by commas like '-w 1:10,1:,:20'"));
+ printf (" %s\n", _("- Note that only one string and one regex may be checked at present"));
+ printf (" %s\n", _("- All evaluation methods other than PR, STR, and SUBSTR expect that the value"));
+ printf (" %s\n", _("returned from the SNMP query is an unsigned integer."));
printf (_(UT_SUPPORT));
}