aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sven Nierlein <sven@nierlein.org> 2019-02-19 21:58:03 +0100
committerGravatar GitHub <noreply@github.com> 2019-02-19 21:58:03 +0100
commite5823c7ae48b7e1556c3c671a417c9211a6f051e (patch)
treeb59a17f29c1c8056b309a4bc40e6c9c7d4c66140
parent555559fd303825e02c0aa196194ae15a2e88aadc (diff)
parentb7de6ec8bd4a2df63295734d8d5af2401830b1c2 (diff)
downloadmonitoring-plugins-e5823c7ae48b7e1556c3c671a417c9211a6f051e.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.c3
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)
printf (" %s\n", _("Separates output on multiple OID requests"));
printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
+ printf (" %s\n", _("NOTE the final timeout value is calculated using this formula: timeout_interval * retries + 5"));
printf (" %s\n", "-e, --retries=INTEGER");
- printf (" %s\n", _("Number of retries to be used in the requests"));
+ printf (" %s%i\n", _("Number of retries to be used in the requests, default: "), DEFAULT_RETRIES);
printf (" %s\n", "-O, --perf-oids");
printf (" %s\n", _("Label performance data with OIDs instead of --label's"));