Module: check_mk
Branch: master
Commit: 1be62fe1327de0600cccc7255d94f46e524b3be1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1be62fe1327de0…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Aug 13 16:46:30 2015 +0200
synology_disks: fixed UnicodeDecodeError
---
checks/synology_disks | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/synology_disks b/checks/synology_disks
index f55e8c9..e3a0d01 100644
--- a/checks/synology_disks
+++ b/checks/synology_disks
@@ -58,7 +58,7 @@ def check_synology_disks(item, params, info):
else:
status_code, status_text = states[int(status)]
- message = "Status: %s, Temperature: %d °C, Model: %s" % (
status_text, temp, model )
+ message = u"Status: %s, Temperature: %d °C, Model: %s" % (
status_text, temp, model )
return status_code, message, [("temp", temp )]