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/41359-check_snmp.c.diff | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 web/attachments/41359-check_snmp.c.diff (limited to 'web/attachments/41359-check_snmp.c.diff') diff --git a/web/attachments/41359-check_snmp.c.diff b/web/attachments/41359-check_snmp.c.diff new file mode 100644 index 0000000..98cb017 --- /dev/null +++ b/web/attachments/41359-check_snmp.c.diff @@ -0,0 +1,11 @@ +--- plugins/check_snmp.c.orig 2002-11-16 06:06:02.000000000 +0100 ++++ plugins/check_snmp.c 2003-01-31 11:47:23.000000000 +0100 +@@ -299,6 +299,8 @@ + show = strstr (response, "Gauge32: ") + 9; + else if (strstr (response, "INTEGER: ")) + show = strstr (response, "INTEGER: ") + 9; ++ else if (strstr (response, "STRING: ")) ++ show = strstr (response, "STRING: ") + 8; + else + show = response; + p2 = show; \ No newline at end of file -- cgit v1.2.3-74-g34f1