diff options
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index e744e04..2db4ecf 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
@@ -233,8 +233,9 @@ main (int argc, char **argv) | |||
233 | usage ("Incorrect arguments supplied\n"); | 233 | usage ("Incorrect arguments supplied\n"); |
234 | 234 | ||
235 | /* create the command line to execute */ | 235 | /* create the command line to execute */ |
236 | asprintf (&command_line, "%s -m %s -v %s %s %s:%s %s", | 236 | asprintf (&command_line, "%s -t 1 -r %d -m %s -v %s %s %s:%s %s", |
237 | PATH_TO_SNMPGET, miblist, proto, authpriv, server_address, port, oid); | 237 | PATH_TO_SNMPGET, timeout_interval - 1, miblist, proto, |
238 | authpriv, server_address, port, oid); | ||
238 | if (verbose) | 239 | if (verbose) |
239 | printf ("%s\n", command_line); | 240 | printf ("%s\n", command_line); |
240 | 241 | ||