summaryrefslogtreecommitdiffstats
path: root/web/attachments/41359-check_snmp.c.diff
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/41359-check_snmp.c.diff
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/41359-check_snmp.c.diff')
-rw-r--r--web/attachments/41359-check_snmp.c.diff11
1 files changed, 11 insertions, 0 deletions
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 @@
1--- plugins/check_snmp.c.orig 2002-11-16 06:06:02.000000000 +0100
2+++ plugins/check_snmp.c 2003-01-31 11:47:23.000000000 +0100
3@@ -299,6 +299,8 @@
4 show = strstr (response, "Gauge32: ") + 9;
5 else if (strstr (response, "INTEGER: "))
6 show = strstr (response, "INTEGER: ") + 9;
7+ else if (strstr (response, "STRING: "))
8+ show = strstr (response, "STRING: ") + 8;
9 else
10 show = response;
11 p2 = show; \ No newline at end of file