Module: check_mk
Branch: master
Commit: 2d2a0aec455a6c79291d9fb968e6cf165c818623
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2d2a0aec455a6c…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Tue Sep 18 16:48:35 2012 +0200
Added rules for Notes Url to wato
---
web/plugins/wato/check_mk_configuration.py | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/web/plugins/wato/check_mk_configuration.py
b/web/plugins/wato/check_mk_configuration.py
index 951d479..7f08b67 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -799,6 +799,7 @@ register_rule(group,
none_label = _("disabled"),
none_value = 0,
),
+
itemtype = "service")
register_rule(group,
@@ -822,6 +823,27 @@ register_rule(group,
),
itemtype = "service")
+
+register_rule(group,
+ "extra_service_conf:notes_url",
+ TextAscii(
+ label = _("Url:"),
+ title = _("Notes url for Services"),
+ help = _("With this setting you can set links to documentations "
+ "for each service"),
+ ),
+ itemtype = "service")
+
+register_rule(group,
+ "extra_host_conf:notes_url",
+ TextAscii(
+ label = _("Url:"),
+ title = _("Notes url for Hosts"),
+ help = _("With this setting you can set links to documentations "
+ "for Hosts"),
+ ),
+ )
+
group = "monconf/Inventory and Check_MK settings"
register_rule(group,