Module: check_mk
Branch: master
Commit: 4c06a9340364d1ba3757c031b907a417e3e5351c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4c06a9340364d1…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Aug 10 09:58:27 2015 +0200
synology_disks: Fixed exception after werk 2490
---
checks/synology_disks | 3 +++
1 file changed, 3 insertions(+)
diff --git a/checks/synology_disks b/checks/synology_disks
index 7ac46cb..f55e8c9 100644
--- a/checks/synology_disks
+++ b/checks/synology_disks
@@ -46,6 +46,9 @@ def check_synology_disks(item, params, info):
}
+ if params == None:
+ params = {}
+
for disk, model, status, temperature in info:
if disk == item:
temp = int(temperature)