Module: check_mk
Branch: master
Commit: 745a025e40452b35282b2c185f4d38590ab6bc5d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=745a025e40452b…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Jun 26 10:45:53 2017 +0200
4840 Check parameters can now be bound to timeperiods
All parameters for discovered services, as well as manual checks, can now be assigned to
specific timeperiods.
This makes it quite easy to configure exceptions, for example, when a data backup is
running.
Each eligible WATO rule offers a button <i>Enable timespecific parameters</i>,
which switches the rule into the timespecific mode.
In this mode you can configure a list of timeperiods and the related check parameters.
You can also configure a default check parameter, in case none of given the timeperiods
matches.
The information, whether a timeperiod is active or not, is taken from the core during the
check execution.
When the core is down/unreachable, the fall default check parameter will be used.
If a configured timeperiod name is now known, the default parameter will be used, too.
Change-Id: Ia2c6bdccf04cba761e3eee06969eb4b15b771c7b
---
.werks/4840 | 21 ++++++
cmk_base/checking.py | 24 ++++++-
web/htdocs/valuespec.py | 170 ++++++++++++++++++++++++++++++++++++++++++++++++
web/htdocs/wato.py | 8 +++
web/htdocs/watolib.py | 13 ----
5 files changed, 221 insertions(+), 15 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=745a025e40…