diff options
| author | Sven Nierlein <sven@nierlein.org> | 2019-02-19 21:58:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-19 21:58:03 +0100 |
| commit | e5823c7ae48b7e1556c3c671a417c9211a6f051e (patch) | |
| tree | b59a17f29c1c8056b309a4bc40e6c9c7d4c66140 | |
| parent | 555559fd303825e02c0aa196194ae15a2e88aadc (diff) | |
| parent | b7de6ec8bd4a2df63295734d8d5af2401830b1c2 (diff) | |
| download | monitoring-plugins-e5823c7.tar.gz | |
Merge pull request #1527 from m-kraus/master
check_snmp: make calcualtion of timeout value in help output more clear
| -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..e8a21a40 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\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")); |
