Module: check_mk
Branch: master
Commit: 931fd7c15792d8bab5381f6806462a8349c09c02
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=931fd7c15792d8…
Author: Marcel Schulte <ms(a)mathias-kettner.de>
Date: Thu Aug 4 12:33:17 2016 +0200
FIX mkeventd.py for sites with disabled Event Console
---
web/plugins/wato/mkeventd.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/web/plugins/wato/mkeventd.py b/web/plugins/wato/mkeventd.py
index 20dcf0d..e9d2093 100644
--- a/web/plugins/wato/mkeventd.py
+++ b/web/plugins/wato/mkeventd.py
@@ -2680,7 +2680,7 @@ if mkeventd_enabled:
# do not run an own eventd but want to query one or send notifications
# to one.
group = _("Notifications")
-register_configvar(groups["ec"],
+register_configvar(group,
"mkeventd_notify_contactgroup",
GroupSelection(
"contact",
@@ -2699,7 +2699,7 @@ register_configvar(groups["ec"],
domain = "multisite",
need_restart = True)
-register_configvar(groups["ec"],
+register_configvar(group,
"mkeventd_notify_remotehost",
Optional(
TextAscii(
@@ -2719,7 +2719,7 @@ register_configvar(groups["ec"],
domain = "multisite",
need_restart = True)
-register_configvar(groups["ec"],
+register_configvar(group,
"mkeventd_notify_facility",
DropdownChoice(
title = _("Syslog facility for Event Console notifications"),