Compare commits
2 Commits
a95e2ee775
...
ad6ae278b5
| Author | SHA1 | Date | |
|---|---|---|---|
| ad6ae278b5 | |||
| 98773de09b |
@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
from cmk.gui.i18n import _
|
from cmk.gui.i18n import _
|
||||||
from cmk.gui.plugins.wato.utils import (
|
from cmk.gui.plugins.wato.utils import (
|
||||||
CheckParameterRulespecWithoutItem,
|
CheckParameterRulespecWithItem,
|
||||||
rulespec_registry,
|
rulespec_registry,
|
||||||
RulespecGroupCheckParametersDiscovery,
|
RulespecGroupCheckParametersDiscovery,
|
||||||
)
|
)
|
||||||
from cmk.gui.valuespec import Dictionary, Float, Tuple
|
from cmk.gui.valuespec import Dictionary, Float, Tuple, TextInput
|
||||||
|
|
||||||
defaults={
|
defaults={
|
||||||
"im_rate_upper": 999999,
|
"im_rate_upper": 999999,
|
||||||
@ -81,12 +81,19 @@ def _parameter_valuespec_graylog_input_metrics():
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def _item_spec_graylog_input_metrics():
|
||||||
|
return TextInput(
|
||||||
|
title=_("Service")
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
rulespec_registry.register(
|
rulespec_registry.register(
|
||||||
CheckParameterRulespecWithoutItem(
|
CheckParameterRulespecWithItem(
|
||||||
check_group_name="graylog_input_metrics",
|
check_group_name="graylog_input_metrics",
|
||||||
group=RulespecGroupCheckParametersDiscovery,
|
group=RulespecGroupCheckParametersDiscovery,
|
||||||
match_type="dict",
|
match_type="dict",
|
||||||
parameter_valuespec=_parameter_valuespec_graylog_input_metrics,
|
parameter_valuespec=_parameter_valuespec_graylog_input_metrics,
|
||||||
|
item_spec=_item_spec_graylog_input_metrics,
|
||||||
title=lambda: _("Graylog input metrics"),
|
title=lambda: _("Graylog input metrics"),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
BIN
storeonce/2.0/storeonce-1.15.mkp
Executable file
BIN
storeonce/2.0/storeonce-1.15.mkp
Executable file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user