Module: check_mk
Branch: master
Commit: 2a4df57a8ca5945f1c48ac61ca5a77cb4411a5da
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2a4df57a8ca594…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Mar 17 10:49:56 2016 +0100
3237 FIX brocade_vdx_status: Fixed broken discovery
---
.werks/3237 | 10 ++++++++++
ChangeLog | 1 +
checks/brocade_vdx_status | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/3237 b/.werks/3237
new file mode 100644
index 0000000..29c0ab5
--- /dev/null
+++ b/.werks/3237
@@ -0,0 +1,10 @@
+Title: brocade_vdx_status: Fixed broken discovery
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.9i1
+Date: 1458208148
+
+
diff --git a/ChangeLog b/ChangeLog
index fb13c64..8f745cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -86,6 +86,7 @@
* 3099 FIX: mk_mysql: worked around problems where running instances can't be
discovered
* 3009 FIX: ESX agent: fixed exception with utf-8 encoded strings...
* 3010 FIX: Fixed vanished snmp subchecks for snmp hosts...
+ * 3237 FIX: brocade_vdx_status: Fixed broken discovery
Multisite:
* 3187 notification view: new filter for log command via regex
diff --git a/checks/brocade_vdx_status b/checks/brocade_vdx_status
index 22c7452..f550be2 100644
--- a/checks/brocade_vdx_status
+++ b/checks/brocade_vdx_status
@@ -58,7 +58,7 @@ check_info["brocade_vdx_status"] = {
# another approach: check for existance of the first needed OID
#not oid('.1.3.6.1.2.1.1.2.0').startswith(
".1.3.6.1.4.1.1588.2.1.1.1"),
"snmp_scan_function" : lambda oid:
oid('.1.3.6.1.2.1.1.2.0').startswith( ".1.3.6.1.4.1.1588") \
- and
oid(".1.3.6.1.4.1.1588.2.1.1.1.1.6") != None,
+ and
oid(".1.3.6.1.4.1.1588.2.1.1.1.1.6.0") != None,
"snmp_info" : ( ".1.3.6.1.4.1.1588.2.1.1.1.1", [
6, # Firmware
7 # Status