Module: check_mk
Branch: master
Commit: c3ed2dcc389eb8efc4bc34a1d0f6db7549938813
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c3ed2dcc389eb8…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Mar 8 09:13:50 2013 +0100
Rule for NIC: better defaults and size of assumed nic speed
---
web/plugins/wato/check_parameters.py | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index a048516..14eb462 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -1266,9 +1266,11 @@ register_check_parameters(
( 1000000000, "1 GBit/s" ),
( 10000000000, "10 GBit/s" ) ],
otherlabel = _("specify manually ->"),
+ default_value = 16000000,
explicit = \
Integer(title = _("Other speed in bits per second"),
- label = _("Bits per second")))
+ label = _("Bits per second"),
+ size = 10))
),
( "assumed_speed_out",
OptionalDropdownChoice(
@@ -1283,9 +1285,11 @@ register_check_parameters(
( 1000000000, "1 GBit/s" ),
( 10000000000, "10 GBit/s" ) ],
otherlabel = _("specify manually ->"),
+ default_value = 1500000,
explicit = \
Integer(title = _("Other speed in bits per second"),
- label = _("Bits per second")))
+ label = _("Bits per second"),
+ size = 12))
),
( "unit",
RadioChoice(