Module: check_mk
Branch: master
Commit: f6424a3762d7a8beaf247bba567b2fd97085c08e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f6424a3762d7a8…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Nov 7 13:43:44 2011 +0100
WATO: fix automation push-snapshot
Hooks failed since folder information was not loaded
---
web/htdocs/wato.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 02cfade..ef7775c 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -6790,6 +6790,9 @@ def page_automation():
def automation_push_snapshot():
try:
+ # Initialise g_root_folder, load all folder information
+ prepare_folder_info()
+
site_id = html.var("siteid")
if not site_id:
raise MKGeneralException(_("Missing variable siteid"))