Module: check_mk
Branch: master
Commit: be7445a2e3e1728acb37750bb69bbc4224c59bed
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=be7445a2e3e172…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Dec 16 10:52:11 2014 +0100
Fix WATO page where check parameters of a service were shown
---
modules/automation.py | 1 +
web/htdocs/wato.py | 1 +
2 files changed, 2 insertions(+)
diff --git a/modules/automation.py b/modules/automation.py
index 437b744..0940990 100644
--- a/modules/automation.py
+++ b/modules/automation.py
@@ -569,6 +569,7 @@ def automation_analyse_service(args):
hn, ct, item, params = entry
else:
ct, item, params = entry # new format without host name
+ hn = hostname
if (ct, item) not in check_table:
continue # this is a removed duplicate or clustered service
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index d5e977f..684a08f 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -4560,6 +4560,7 @@ def create_random_hosts(folder, count, folders, levels):
".folders" : {},
".hosts" : {},
".path" : path,
+ ".siteid" : None,
"attributes" : {},
"num_hosts" : 0,
"title" : title,