Module: check_mk
Branch: master
Commit: 62a2fcf01a1cc1acafd4eb4e0ac9859ba97a9805
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=62a2fcf01a1cc1…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Jun 5 16:22:24 2012 +0200
FIX: add missing icon on cluster hosts to WATO in Multisite views
---
ChangeLog | 3 +++
modules/check_mk.py | 2 ++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 4228009..f696844 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
1.2.0:
+ WATO:
+ * FIX: add missing icon on cluster hosts to WATO in Multisite views
+
Checks & Agents:
* fileinfo: added this check to Linux agent. Simply put your
file patterns into /etc/check_mk/fileinfo.cfg for configuration.
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 15b65d2..77ec754 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -4260,6 +4260,7 @@ def read_config_files(with_autochecks=True, with_conf_d=True):
if opt_debug:
sys.stderr.write("Reading config file %s...\n" % _f)
_old_all_hosts = all_hosts[:]
+ _old_clusters = clusters.keys()
# Make the config path available as a global variable to
# be used within the configuration file
if _f.startswith( check_mk_configdir + "/"):
@@ -4271,6 +4272,7 @@ def read_config_files(with_autochecks=True, with_conf_d=True):
execfile(_f, globals(), globals())
marks_hosts_with_path(_old_all_hosts, all_hosts, _f)
+ marks_hosts_with_path(_old_clusters, clusters.keys(), _f)
except Exception, e:
sys.stderr.write("Cannot read in configuration file %s:\n%s\n" %
(_f, e))
if __name__ == "__main__":