Module: check_mk
Branch: master
Commit: fd836b6422aa88b6ad5b60fcab3bc66cf5e06fae
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fd836b6422aa88…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Jun 1 17:17:02 2016 +0200
better rule handling
---
web/plugins/wato/check_parameters.py | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index 118c82b..6a43aa3 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -6479,11 +6479,16 @@ register_check_parameters(
default_value = 2,
)),
( "defaultincrement",
- Checkbox(
- title = _("Default Increment"),
- label = _("State is WARNING in case the next extent has the
default size."),
- help = "")),
- ]),
+ DropdownChoice(
+ title = _("Default Increment"),
+ choices = [
+ ( True, _("State is WARNING in case the next extent has the
default size.")),
+ ( False, _("Ignore default increment")),
+ ]
+ )
+ ),
+ ],
+ ),
TextAscii(
title = _("Explicit tablespaces"),
help = _("Here you can set explicit tablespaces by defining them via SID and
the tablespace name, separated by a dot, for example
<b>pengt.TEMP</b>"),