Module: check_mk
Branch: master
Commit: 0bc633780add4cb46d1c465b1f9660419a89ad03
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0bc633780add4c…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Fri Sep 28 11:34:43 2018 +0200
cisco_stack: Make scan function less restrictive
Change-Id: I97ae862a4867f81612f199626bef3a1621c9c9ec
---
checks/cisco_stack | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/checks/cisco_stack b/checks/cisco_stack
index 319de05..9e1ba04 100644
--- a/checks/cisco_stack
+++ b/checks/cisco_stack
@@ -116,6 +116,7 @@ check_info['cisco_stack'] = {
"3", # cswSwitchRole
"6", # cswSwitchState
]),
- 'snmp_scan_function' : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.9.1.1208"),
+ 'snmp_scan_function' : lambda oid:
(oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.9.1.1208") or
+
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.9.1.1745")),
'group' : 'cisco_stack',
}