Module: check_mk
Branch: master
Commit: ab559e59c80369d8bef3bfc06acbb9092574e56c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ab559e59c80369…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Dec 23 10:17:57 2014 +0100
Fix missing var_dir in Event Console web GUI for non-OMD installations
---
mkeventd/web/htdocs/mkeventd.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mkeventd/web/htdocs/mkeventd.py b/mkeventd/web/htdocs/mkeventd.py
index ba5c480..737d1a1 100644
--- a/mkeventd/web/htdocs/mkeventd.py
+++ b/mkeventd/web/htdocs/mkeventd.py
@@ -37,7 +37,7 @@ except:
run_dir = defaults.livestatus_unix_socket.rsplit("/",1)[0]
socket_path = run_dir + "/mkeventd/status"
pipe_path = run_dir + "/mkeventd/events"
- snmp_mibs_dir = var_dir + "/mkeventd/mibs"
+ snmp_mibs_dir = defaults.var_dir + "/mkeventd/mibs"
syslog_priorities = [
(0, "emerg" ),