Module: check_mk
Branch: master
Commit: 3601ad403082fd2f5b638cd35c15a99fe0c0493f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3601ad403082fd…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Fri Jun 1 18:51:58 2012 +0200
Fixed alias on contactgroups
---
modules/check_mk.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 7fd3af7..15b65d2 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -1964,7 +1964,7 @@ def create_nagios_config_contactgroups(outfile):
outfile.write("\ndefine contactgroup {\n"
" contactgroup_name\t\t%s\n"
" alias\t\t\t\t%s\n"
- "}\n" % (name, make_utf8('utf-8')))
+ "}\n" % (name, make_utf8(alias)))
def create_nagios_config_commands(outfile):