summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_snmp.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index 43e79a1c..2acada22 100644
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
@@ -347,15 +347,6 @@ main (int argc, char **argv)
347 server_address, 347 server_address,
348 port); 348 port);
349 349
350
351
352 /* This is just for display purposes, so it can remain a string */
353 /*
354 xasprintf(&cl_hidden_auth, "%s -Le -t %d -r %d -m %s -v %s %s %s %s:%s",
355 snmpcmd, timeout_interval, retries, strlen(miblist) ? miblist : "''", proto, "[context]", "[authpriv]",
356 server_address, port);
357 */
358
359 for (i = 0; i < numoids; i++) { 350 for (i = 0; i < numoids; i++) {
360 command_line[index++] = oids[i]; 351 command_line[index++] = oids[i];
361 xasprintf(&cl_hidden_auth, "%s %s", cl_hidden_auth, oids[i]); 352 xasprintf(&cl_hidden_auth, "%s %s", cl_hidden_auth, oids[i]);