Module: check_mk
Branch: master
Commit: d2b08e7ae806d5ddd51b093310cc593c3c2854b0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d2b08e7ae806d5…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sat Nov 27 14:19:44 2010 +0100
wato: fix link from inventory check
---
web/htdocs/wato.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 00399fe..0d5b6b3 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -551,9 +551,8 @@ def write_configuration_file():
out.write("\n")
# all WATO information to Check_MK's inventory checks (needed for link in
Multisite)
- out.write("extra_service_conf['_WATO'] = [ \n"
- " ('hirni.mk', [ 'wato', 'hirni.mk' ],
ALL_HOSTS, [ 'Check_MK inventory' ] ) ]\n")
-
+ out.write("\nextra_service_conf['_WATO'] += [ \n"
+ " ('%s', [ 'wato', '%s' ], ALL_HOSTS, [
'Check_MK inventory' ] ) ]\n" % (g_filename, g_filename))
# This is a dummy implementation which works without tags
# and implements only a special case of Check_MK's real logic.