Module: check_mk
Branch: master
Commit: 9cc4703fe7bb214425216ab59b182d737e137768
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9cc4703fe7bb21…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Sep 20 11:18:27 2012 +0200
Added new Wato config field
---
.bugs/741 | 9 +++++++++
web/plugins/wato/check_mk_configuration.py | 9 +++++++++
2 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/.bugs/741 b/.bugs/741
new file mode 100644
index 0000000..0213421
--- /dev/null
+++ b/.bugs/741
@@ -0,0 +1,9 @@
+Title: Refreshing autochecks in wato
+Component: wato
+State: open
+Date: 2012-09-19 11:58:31
+Targetversion: 1.2.0
+Class: nastiness
+
+If for example mount options of a services changes, there is no way in the wato service
section to refresh
+the autochecks to use the new options
diff --git a/web/plugins/wato/check_mk_configuration.py
b/web/plugins/wato/check_mk_configuration.py
index 65fc14a..7a7b1e8 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -851,6 +851,15 @@ register_rule(group,
),
itemtype = "service")
+register_rule(group,
+ "extra_host_conf:check_command",
+ TextAscii(
+ label = _("Command:"),
+ title = _("Check Command for Hosts Check"),
+ help = _("This parameter changes the default check_command for "
+ "a host check"),
+ ),
+ )
register_rule(group,
"extra_service_conf:notes_url",