Module: check_mk
Branch: master
Commit: f801fe9dc744d88f47f78dd148c854efe59acb0c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f801fe9dc744d8…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Apr 11 16:24:23 2016 +0200
mkeventd icon: Fixed broken url in case of distributed Event Console configuration
---
web/plugins/icons/mkeventd.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/plugins/icons/mkeventd.py b/web/plugins/icons/mkeventd.py
index a03b0e2..656da9c 100644
--- a/web/plugins/icons/mkeventd.py
+++ b/web/plugins/icons/mkeventd.py
@@ -73,9 +73,9 @@ def paint_mkeventd(what, row, tags, custom_vars):
# Another possible architecture is to have an event console in each site in
# a distributed environment. For the later case the base url need to be
# constructed here
- site = html.site_status[row['site']]["site"]
url_prefix = ''
if getattr(config, 'mkeventd_distributed', False):
+ site = config.site(row["site"])
url_prefix = site['url_prefix'] + 'check_mk/'
url_vars = [