Module: check_mk
Branch: master
Commit: ed6d6789f91a2a2d08921fa2e53be18469c3db11
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ed6d6789f91a2a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Aug 30 14:07:49 2013 +0200
Fixed snmp scan function of brocade checks not to return a tuple
---
checks/brocade | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/checks/brocade b/checks/brocade
index c75c69f..a6d8b08 100644
--- a/checks/brocade
+++ b/checks/brocade
@@ -44,7 +44,8 @@ def brocade_sensor_convert(info, what):
def brocade_scan(oid):
return
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.1588.2.1.1") or \
-
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.24.1.1588.2.1.1"),
+
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.24.1.1588.2.1.1")
+
brocade_info = ('.1.3.6.1.4.1.1588.2.1.1.1.1.22.1', [ 4, 5 ])