default_value should be None
This commit is contained in:
parent
1e25e400e0
commit
8533198ad7
@ -73,36 +73,36 @@ register_check_parameters(
|
||||
Tuple(
|
||||
title=_("Write size /s"),
|
||||
elements=[
|
||||
Float(title=_("Warning at"), default_value=200.000, unit="bytes/s"),
|
||||
Float(title=_("Critical at"), default_value=250.000, unit="bytes/s"),
|
||||
Float(title=_("Warning at"), default_value=None, unit="bytes/s"),
|
||||
Float(title=_("Critical at"), default_value=None, unit="bytes/s"),
|
||||
])),
|
||||
("write_b_op",
|
||||
Tuple(
|
||||
title=_("Write bytes per operation"),
|
||||
elements=[
|
||||
Float(title=_("Warning at"), default_value=200.000, unit="bytes/s"),
|
||||
Float(title=_("Critical at"), default_value=250.000, unit="bytes/s"),
|
||||
Float(title=_("Warning at"), default_value=None, unit="bytes/s"),
|
||||
Float(title=_("Critical at"), default_value=None, unit="bytes/s"),
|
||||
])),
|
||||
("write_retrans",
|
||||
Tuple(
|
||||
title=_("Write Retransmissions"),
|
||||
elements=[
|
||||
Percentage(title=_("Warning at"), default_value=10.0),
|
||||
Percentage(title=_("Critical at"), default_value=20.0),
|
||||
Percentage(title=_("Warning at"), default_value=None),
|
||||
Percentage(title=_("Critical at"), default_value=None),
|
||||
])),
|
||||
("write_avg_rtt_ms",
|
||||
Tuple(
|
||||
title=_("Write Avg RTT (ms)"),
|
||||
elements=[
|
||||
Float(title=_("Warning at"), default_value=10.000, unit="ms"),
|
||||
Float(title=_("Critical at"), default_value=20.000, unit="ms"),
|
||||
Float(title=_("Warning at"), default_value=None, unit="ms"),
|
||||
Float(title=_("Critical at"), default_value=None, unit="ms"),
|
||||
])),
|
||||
("write_avg_exe_ms",
|
||||
Tuple(
|
||||
title=_("Write Avg exe (ms)"),
|
||||
elements=[
|
||||
Float(title=_("Warning at"), default_value=10.000, unit="ms"),
|
||||
Float(title=_("Critical at"), default_value=20.000, unit="ms"),
|
||||
Float(title=_("Warning at"), default_value=None, unit="ms"),
|
||||
Float(title=_("Critical at"), default_value=None, unit="ms"),
|
||||
])),
|
||||
]
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user