diff options
author | Michael Kraus <michael.kraus@consol.de> | 2018-01-19 15:13:12 +0100 |
---|---|---|
committer | Michael Kraus <michael.kraus@consol.de> | 2018-01-19 15:13:12 +0100 |
commit | 9fa449119ccd9f57df9e12d4597804efd2dee3ba (patch) | |
tree | 46fca90be02da366d69b7c3bab3b92b94f685290 /plugins/check_snmp.c | |
parent | 9661ee74885834f7b69ab0874c4e65bed0b871c9 (diff) | |
download | monitoring-plugins-9fa449119ccd9f57df9e12d4597804efd2dee3ba.tar.gz |
check_snmp: make calcualtion of timeout value in help output more clear
Diffstat (limited to 'plugins/check_snmp.c')
-rw-r--r-- | plugins/check_snmp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index da9638c4..88b8f38f 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
@@ -1207,8 +1207,9 @@ print_help (void) | |||
1207 | printf (" %s\n", _("Separates output on multiple OID requests")); | 1207 | printf (" %s\n", _("Separates output on multiple OID requests")); |
1208 | 1208 | ||
1209 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 1209 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
1210 | printf (" %s\n", _("NOTE the final timeout value is calculated using this formula: timeout_interval * retries + 5")); | ||
1210 | printf (" %s\n", "-e, --retries=INTEGER"); | 1211 | printf (" %s\n", "-e, --retries=INTEGER"); |
1211 | printf (" %s\n", _("Number of retries to be used in the requests")); | 1212 | printf (" %s%i%s\n", _("Number of retries to be used in the requests (default: "), DEFAULT_RETRIES, _(")")); |
1212 | 1213 | ||
1213 | printf (" %s\n", "-O, --perf-oids"); | 1214 | printf (" %s\n", "-O, --perf-oids"); |
1214 | printf (" %s\n", _("Label performance data with OIDs instead of --label's")); | 1215 | printf (" %s\n", _("Label performance data with OIDs instead of --label's")); |