Module: check_mk
Branch: master
Commit: dbee381957b6b5c4570fd0024f5cc6231206630e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dbee381957b6b5…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Mon Oct 13 09:56:44 2014 +0200
Changed scan function of some brocade switches
---
checks/brocade_info | 2 +-
checks/brocade_vdx_status | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/brocade_info b/checks/brocade_info
index f11bd03..bad098c 100644
--- a/checks/brocade_info
+++ b/checks/brocade_info
@@ -90,6 +90,6 @@ check_info["brocade_info"] = {
],
),
],
- 'snmp_scan_function' : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.1588.2.1.1") or \
+ 'snmp_scan_function' : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.1588") or \
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.24.1.1588.2.1.1"),
}
diff --git a/checks/brocade_vdx_status b/checks/brocade_vdx_status
index c31402b..22af8d4 100644
--- a/checks/brocade_vdx_status
+++ b/checks/brocade_vdx_status
@@ -53,7 +53,7 @@ check_info["brocade_vdx_status"] = {
"check_function" : check_brocade_vdx_status,
"inventory_function" : inventory_brocade_vdx_status,
"service_description" : "Status",
- "snmp_scan_function" : lambda oid:
oid('.1.3.6.1.2.1.1.2.0').startswith( ".1.3.6.1.4.1.1588.2.2.1"),
+ "snmp_scan_function" : lambda oid:
oid('.1.3.6.1.2.1.1.2.0').startswith( ".1.3.6.1.4.1.1588"),
"snmp_info" : ( ".1.3.6.1.4.1.1588.2.1.1.1.1", [
6, # Firmware
7 # Status