Module: check_mk
Branch: master
Commit: 9bf1d993ee8ffc35a5d670b91289a98ebc3e0c05
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9bf1d993ee8ffc…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Wed May 7 16:56:04 2014 +0200
brocade_vdx_status: improved scan function
---
checks/brocade_vdx_status | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/brocade_vdx_status b/checks/brocade_vdx_status
index e4a5fc2..b46406d 100755
--- a/checks/brocade_vdx_status
+++ b/checks/brocade_vdx_status
@@ -51,7 +51,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') ==
".1.3.6.1.4.1.1588.2.2.1.1.1.4",
+ "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_info" : ( ".1.3.6.1.4.1.1588.2.1.1.1.1", [
6, # Firmware
7 # Status