summaryrefslogtreecommitdiffstats
path: root/web/attachments/27581-z
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
commit0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch)
tree1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/27581-z
downloadsite-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files.
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);