Module: check_mk
Branch: master
Commit: db2d851b6ff484966b6aa909b2bcb6a66b8884b6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=db2d851b6ff484…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jul 24 08:54:19 2015 +0200
Fixed UnicodeEncodeError when compiling config when having umlauts in rules
---
modules/check_mk.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 38ffbc1..a100a12 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -5730,7 +5730,7 @@ def get_checkgroup_parameters(host, checktype, item):
if item == None: # checks without an item
return host_extra_conf(host, rules)
else: # checks with an item need service-specific rules
- return service_extra_conf(host, str(item), rules)
+ return service_extra_conf(host, item, rules)
def output_profile():