Module: check_mk
Branch: master
Commit: f062ebe40a91fce3293fb635d9cac9a7e0426b7f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f062ebe40a91fc…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Feb 10 15:48:02 2012 +0100
FIX: fix bug in host_icon rule on non OMD
---
ChangeLog | 1 +
web/plugins/wato/check_mk_configuration.py | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c7feb79..0b0bbce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,7 @@
* Distributed WATO: Made all url calls using curl now
* FIX: fix bug in inventory in validate_datatype()
* Better output in case of inventory error
+ * FIX: fix bug in host_icon rule on non OMD
Checks & Agents:
* hpux_if: fix missing default parameter errors
diff --git a/web/plugins/wato/check_mk_configuration.py
b/web/plugins/wato/check_mk_configuration.py
index 93f9cb4..f1c46c2 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -626,7 +626,7 @@ class MonitoringIcon(ValueSpec):
dirs = [ defaults.omd_root +
"/local/share/check_mk/web/htdocs/images/icons",
defaults.omd_root +
"/share/check_mk/web/htdocs/images/icons" ]
else:
- dir = [ defaults.web_dir + "/htdocs/images/icons" ]
+ dirs = [ defaults.web_dir + "/htdocs/images/icons" ]
icons = []
for dir in dirs: