summaryrefslogtreecommitdiffstats
path: root/web/attachments/27581-z
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/27581-z')
-rw-r--r--web/attachments/27581-z26
1 files changed, 26 insertions, 0 deletions
diff --git a/web/attachments/27581-z b/web/attachments/27581-z
new file mode 100644
index 0000000..fb3e37c
--- /dev/null
+++ b/web/attachments/27581-z
@@ -0,0 +1,26 @@
1--- check_snmp.c.cln Tue Jul 23 09:42:21 2002
2+++ check_snmp.c Tue Jul 23 09:42:50 2002
3@@ -145,8 +145,8 @@
4 /* create the command line to execute */
5 command_line = ssprintf
6 (command_line,
7- "%s -m ALL -v 1 %s %s %s",
8- PATH_TO_SNMPGET, server_address, community, oid);
9+ "%s -m ALL -v 1 -c %s %s %s",
10+ PATH_TO_SNMPGET, community, server_address, oid);
11
12 /* run the command */
13 child_process = spopen (command_line);
14--- check_hpjd.c.cln Tue Jul 23 09:45:16 2002
15+++ check_hpjd.c Tue Jul 23 09:46:00 2002
16@@ -135,8 +135,8 @@
17 HPJD_GD_DOOR_OPEN, HPJD_GD_PAPER_OUTPUT, HPJD_GD_STATUS_DISPLAY);
18
19 /* get the command to run */
20- sprintf (command_line, "%s -m : -v 1 %s %s %s", PATH_TO_SNMPGET, address,
21- community, query_string);
22+ sprintf (command_line, "%s -m : -v 1 -c %s %s %s", PATH_TO_SNMPGET,
23+ community, address, query_string);
24
25 /* run the command */
26 child_process = spopen (command_line);