Module: check_mk
Branch: master
Commit: 4ef163e3642f8ffc622b86d2958a8fde6b5250b7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4ef163e3642f8f…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Dec 16 11:10:53 2011 +0100
FIX: bluecoat_diskcpu: repair scan function
---
ChangeLog | 1 +
checks/bluecoat_diskcpu | 2 +-
checks/bluecoat_sensors | 1 -
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 75134f9..7961d63 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -110,6 +110,7 @@
fixes the problem where interface are not found by inventory.
* FIX: snmp_uptime: handels alternative timeformat
* FIX: netapp_*: scan functions now detect IBM versions of firmware
+ * FIX: bluecoat_diskcpu: repair scan function
1.1.12p4:
Multisite:
diff --git a/checks/bluecoat_diskcpu b/checks/bluecoat_diskcpu
index 8ea8597..1229fda 100644
--- a/checks/bluecoat_diskcpu
+++ b/checks/bluecoat_diskcpu
@@ -49,5 +49,5 @@ snmp_info['bluecoat_diskcpu'] = (
".1.3.6.1.4.1.3417.2.4.1.1.1",
[ 3, 4, 6 ]) # BLUECOAT disk und CPU-Tabelle
-snmp_scan_functions["bluecoat_sensors"] = \
+snmp_scan_functions["bluecoat_diskcpu"] = \
lambda oid: '1.3.6.1.4.1.3417.1.1' in oid(".1.3.6.1.2.1.1.2.0")
diff --git a/checks/bluecoat_sensors b/checks/bluecoat_sensors
index aa2d521..e9073cc 100644
--- a/checks/bluecoat_sensors
+++ b/checks/bluecoat_sensors
@@ -49,6 +49,5 @@ snmp_info['bluecoat_sensors'] = (
".1.3.6.1.4.1.3417.2.1.1.1.1.1",
[ 9, 5, 7, 4 ]) # BLUECOAT fan, voltage, temperatures, scale
-
snmp_scan_functions["bluecoat_sensors"] = \
lambda oid: '1.3.6.1.4.1.3417.1.1' in oid(".1.3.6.1.2.1.1.2.0")