From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/27581-z | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 web/attachments/27581-z (limited to 'web/attachments/27581-z') 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 @@ +--- check_snmp.c.cln Tue Jul 23 09:42:21 2002 ++++ check_snmp.c Tue Jul 23 09:42:50 2002 +@@ -145,8 +145,8 @@ + /* create the command line to execute */ + command_line = ssprintf + (command_line, +- "%s -m ALL -v 1 %s %s %s", +- PATH_TO_SNMPGET, server_address, community, oid); ++ "%s -m ALL -v 1 -c %s %s %s", ++ PATH_TO_SNMPGET, community, server_address, oid); + + /* run the command */ + child_process = spopen (command_line); +--- check_hpjd.c.cln Tue Jul 23 09:45:16 2002 ++++ check_hpjd.c Tue Jul 23 09:46:00 2002 +@@ -135,8 +135,8 @@ + HPJD_GD_DOOR_OPEN, HPJD_GD_PAPER_OUTPUT, HPJD_GD_STATUS_DISPLAY); + + /* get the command to run */ +- sprintf (command_line, "%s -m : -v 1 %s %s %s", PATH_TO_SNMPGET, address, +- community, query_string); ++ sprintf (command_line, "%s -m : -v 1 -c %s %s %s", PATH_TO_SNMPGET, ++ community, address, query_string); + + /* run the command */ + child_process = spopen (command_line); -- cgit v1.2.3-74-g34f1