Module: check_mk
Branch: master
Commit: 8e7094b7d46b7da9daa4ab9b73b1c65551abb68e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8e7094b7d46b7d…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Tue Jun 23 10:35:52 2015 +0200
wut_webio_io: Fixed exception in scan_function
---
checks/wut_webio_io | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/checks/wut_webio_io b/checks/wut_webio_io
index 79980ba..204ade8 100644
--- a/checks/wut_webio_io
+++ b/checks/wut_webio_io
@@ -106,6 +106,7 @@ check_info['wut_webio_io.inputs'] = {
]),
# first check we have a vendor mib from W&T, then check for the model in their
MIB.
"snmp_scan_function" : lambda oid: \
- ".1.3.6.1.4.1.5040" in oid(".1.3.6.1.2.1.1.2.0") and
+ ".1.3.6.1.4.1.5040" in oid(".1.3.6.1.2.1.1.2.0") and \
+ oid(".1.3.6.1.4.1.5040.1.2.4.3.3.5.0") and \
oid(".1.3.6.1.4.1.5040.1.2.4.3.3.5.0").lower().startswith("web-io"),
}