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