Module: check_mk
Branch: master
Commit: e1c3a5519791c6273534d7ade16afcadde1d0e00
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e1c3a5519791c6…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Apr 6 11:36:24 2012 +0200
WATO: make reschedule_timeout configurable
---
web/plugins/wato/check_mk_configuration.py | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/web/plugins/wato/check_mk_configuration.py
b/web/plugins/wato/check_mk_configuration.py
index 1f296d2..f246f0f 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -183,6 +183,19 @@ register_configvar(group,
domain = "multisite")
register_configvar(group,
+ "reschedule_timeout",
+ Float(title = _("Timeout for rescheduling checks in Multisite"),
+ help = _("When you reschedule a check by clicking on the
"arrow"-icon "
+ "then Multisite will use this number of seconds as a timeout. If
the "
+ "monitoring core has not executed the check within this time, an
error "
+ "will be displayed and the page not reloaded."),
+ minvalue = 1.0,
+ default_value = 10.0,
+ unit = "sec",
+ display_format = "%.1f sec"),
+ domain = "multisite")
+
+register_configvar(group,
"wato_activation_method",
DropdownChoice(
title = _("Wato restart mode for Nagios"),