Module: check_mk
Branch: master
Commit: faadf9b97abfa48cea75b3bcb4adab4f2f544990
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=faadf9b97abfa4…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Oct 16 02:19:50 2013 +0200
FIX: fixed ".siteid" exception when added new site
Yeah. Finally nailed that down. It appeared when you
- Save a new site connection
- that is your first remote replication connection
- you have at least one subfolder
Saving once again helped. But before that - if you
use the liveproxyd - it's configuration was not
written and it therefore could not connect. All fixed
now :-)
---
ChangeLog | 1 +
web/htdocs/wato.py | 1 +
2 files changed, 2 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index af4610f..6525e3e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -41,6 +41,7 @@
* bulk inventory: display percentage in progress bar
* New option for full SNMP scan in bulk inventory
* FIX: correct display of number of hosts in bulk inventory
+ * FIX: nailed down ".siteid" exception when added new site
1.2.3i4:
Core:
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index a573c7d..f718cb8 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -7428,6 +7428,7 @@ def save_sites(sites, activate=True):
config.load_config() # make new site configuration active
update_distributed_wato_file(sites)
declare_site_attribute()
+ load_all_folders() # make sure that .siteid is present
rewrite_config_files_below(g_root_folder) # fix site attributes
need_sidebar_reload()