Module: check_mk
Branch: master
Commit: b5bcd60bb82b6eb17ee2d5446f1fb9a8f7735ead
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b5bcd60bb82b6e…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Fri May 22 12:01:39 2015 +0200
moxa_iologik_register: Fixed Scan function
---
checks/moxa_iologik_register | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/moxa_iologik_register b/checks/moxa_iologik_register
index 161fc1d..7c9da4e 100644
--- a/checks/moxa_iologik_register
+++ b/checks/moxa_iologik_register
@@ -52,7 +52,7 @@ check_info['moxa_iologik_register'] = {
"has_perfdata" : False,
"group" : "iologik_register",
"snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.8691.") and \
-
oid(".1.3.6.1.4.1.8691.10.2242.2.0").startswith("E2242-T"),
+ oid(".1.3.6.1.4.1.8691.10.2242.2.0",
"").startswith("E2242-T"),
"snmp_info" : (".1.3.6.1.4.1.8691.10.2242.10.4.1.1",
[ "1", # index
"2", # Name