Module: check_mk
Branch: master
Commit: 2f1292a88799399e626fa77349f69a3ec41fe81b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2f1292a8879939…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Sep 19 11:01:46 2013 +0200
etherbox check: fixed exception in scan function
---
checks/etherbox | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/etherbox b/checks/etherbox
index 45dcfe7..5129ba8 100644
--- a/checks/etherbox
+++ b/checks/etherbox
@@ -65,7 +65,7 @@ def etherbox_get_sensor(item, item_type, info):
raise Exception("Sensor not found")
def etherbox_scan(oid):
- return
oid(".1.3.6.1.4.1.14848.2.1.1.1.0").startswith("Version"),
+ return oid(".1.3.6.1.4.1.14848.2.1.1.1.0").startswith("Version")
etherbox_info = [
( ".1.3.6.1.4.1.14848.2.1.1.3", [ '' ]), # temperature
unit