Moved to section Testing within other integrations
This commit is contained in:
parent
a094e9a917
commit
7c721374b5
@ -1,43 +1,25 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from cmk.gui.i18n import _
|
from cmk.gui.i18n import _
|
||||||
from cmk.gui.plugins.wato import (
|
|
||||||
CheckParameterRulespecWithItem,
|
from cmk.gui.plugins.wato.utils import (
|
||||||
|
IndividualOrStoredPassword,
|
||||||
rulespec_registry,
|
rulespec_registry,
|
||||||
RulespecGroupCheckParametersOperatingSystem,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
from cmk.gui.valuespec import (
|
from cmk.gui.valuespec import (
|
||||||
Age,
|
|
||||||
Alternative,
|
|
||||||
CascadingDropdown,
|
|
||||||
Checkbox,
|
|
||||||
Dictionary,
|
Dictionary,
|
||||||
DictionaryElements,
|
|
||||||
DropdownChoice,
|
|
||||||
FixedValue,
|
|
||||||
Float,
|
|
||||||
HostAddress,
|
|
||||||
Hostname,
|
|
||||||
HTTPUrl,
|
|
||||||
ID,
|
|
||||||
Integer,
|
|
||||||
ListChoice,
|
|
||||||
ListOf,
|
|
||||||
ListOfStrings,
|
|
||||||
MonitoringState,
|
|
||||||
NetworkPort,
|
|
||||||
Password,
|
Password,
|
||||||
RegExp,
|
|
||||||
TextAscii,
|
TextAscii,
|
||||||
TextInput,
|
|
||||||
Transform,
|
|
||||||
Tuple,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
from cmk.gui.plugins.wato import (
|
from cmk.gui.watolib.rulespecs import (
|
||||||
HostRulespec,
|
HostRulespec,
|
||||||
IndividualOrStoredPassword,
|
|
||||||
)
|
)
|
||||||
from cmk.gui.plugins.wato.datasource_programs import RulespecGroupDatasourceProgramsCustom
|
|
||||||
|
from cmk.gui.plugins.wato.special_agents.common import (
|
||||||
|
RulespecGroupDatasourceProgramsTesting,
|
||||||
|
)
|
||||||
|
|
||||||
def _params_special_agent_hal9001():
|
def _params_special_agent_hal9001():
|
||||||
return Dictionary(
|
return Dictionary(
|
||||||
@ -58,7 +40,7 @@ def _params_special_agent_hal9001():
|
|||||||
|
|
||||||
rulespec_registry.register(
|
rulespec_registry.register(
|
||||||
HostRulespec(
|
HostRulespec(
|
||||||
group=RulespecGroupDatasourceProgramsCustom,
|
group=RulespecGroupDatasourceProgramsTesting,
|
||||||
name="special_agents:hal9001",
|
name="special_agents:hal9001",
|
||||||
valuespec=_params_special_agent_hal9001,
|
valuespec=_params_special_agent_hal9001,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user