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/116587-diffs.txt | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 web/attachments/116587-diffs.txt (limited to 'web/attachments/116587-diffs.txt') diff --git a/web/attachments/116587-diffs.txt b/web/attachments/116587-diffs.txt new file mode 100644 index 0000000..f685d0d --- /dev/null +++ b/web/attachments/116587-diffs.txt @@ -0,0 +1,32 @@ +34c34 +< -H -o [-n] [-w warn_range] [-c crit_range] \n\ +--- +> -H -o [-w warn_range] [-c crit_range] \n\ +46,47d45 +< -n\n\ +< Use snmpgetnext instead of snmpget\n\ +199d196 +< int usesnmpgetnext = FALSE; +239,244c236 +< if (usesnmpgetnext == TRUE) { +< asprintf (&command_line, "%s -t 1 -r %d -m %s -v %s %s %s:%s %s", +< PATH_TO_SNMPGETNEXT, timeout_interval - 1, miblist, proto, +< authpriv, server_address, port, oid); +< } else { +< asprintf (&command_line, "%s -t 1 -r %d -m %s -v %s %s %s:%s %s", +--- +> asprintf (&command_line, "%s -t 1 -r %d -m %s -v %s %s %s:%s %s", +247d238 +< } +477c468 +< getopt_long (argc, argv, "nhvVt:c:w:H:C:o:e:E:d:D:s:R:r:l:u:p:m:P:L:U:a:A:X:", +--- +> getopt_long (argc, argv, "hvVt:c:w:H:C:o:e:E:d:D:s:R:r:l:u:p:m:P:L:U:a:A:X:", +480c471 +< c = getopt (argc, argv, "nhvVt:c:w:H:C:o:e:E:d:D:s:R:r:l:u:p:m:P:L:U:a:A:X:"); +--- +> c = getopt (argc, argv, "hvVt:c:w:H:C:o:e:E:d:D:s:R:r:l:u:p:m:P:L:U:a:A:X:"); +498,500d488 +< case 'n': /* usesnmpgetnext */ +< usesnmpgetnext = TRUE; +< break; -- cgit v1.2.3-74-g34f1