summaryrefslogtreecommitdiffstats
path: root/web/attachments/420257-check_snmp_numeric_fix.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/420257-check_snmp_numeric_fix.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/420257-check_snmp_numeric_fix.diff')
-rw-r--r--web/attachments/420257-check_snmp_numeric_fix.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/web/attachments/420257-check_snmp_numeric_fix.diff b/web/attachments/420257-check_snmp_numeric_fix.diff
new file mode 100644
index 0000000..8c645e1
--- /dev/null
+++ b/web/attachments/420257-check_snmp_numeric_fix.diff
@@ -0,0 +1,20 @@
1*** check_snmp.c Thu Aug 4 14:33:54 2011
2--- check_snmp_numeric_fix.c Thu Aug 4 14:33:13 2011
3***************
4*** 331,337 ****
5 /* Clean up type array - Sol10 does not necessarily zero it out */
6 bzero(type, sizeof(type));
7
8! is_counter=0;
9 /* We strip out the datatype indicator for PHBs */
10 if (strstr (response, "Gauge: ")) {
11 show = strstr (response, "Gauge: ") + 7;
12--- 331,338 ----
13 /* Clean up type array - Sol10 does not necessarily zero it out */
14 bzero(type, sizeof(type));
15
16! is_counter = 0;
17! is_numeric = 0;
18 /* We strip out the datatype indicator for PHBs */
19 if (strstr (response, "Gauge: ")) {
20 show = strstr (response, "Gauge: ") + 7;