From 7c721374b5067b10127917410150a26b504ca940 Mon Sep 17 00:00:00 2001 From: cmk-bonobo Date: Sun, 21 Jan 2024 12:44:04 +0100 Subject: [PATCH] Moved to section Testing within other integrations --- .../web/plugins/wato/hal9001_params.py | 40 +++++-------------- 1 file changed, 11 insertions(+), 29 deletions(-) diff --git a/local/share/check_mk/web/plugins/wato/hal9001_params.py b/local/share/check_mk/web/plugins/wato/hal9001_params.py index 08ab751..3fa4236 100644 --- a/local/share/check_mk/web/plugins/wato/hal9001_params.py +++ b/local/share/check_mk/web/plugins/wato/hal9001_params.py @@ -1,43 +1,25 @@ +#!/usr/bin/env python3 + from cmk.gui.i18n import _ -from cmk.gui.plugins.wato import ( - CheckParameterRulespecWithItem, + +from cmk.gui.plugins.wato.utils import ( + IndividualOrStoredPassword, 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.plugins.wato import ( +from cmk.gui.watolib.rulespecs import ( 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(): return Dictionary( @@ -58,7 +40,7 @@ def _params_special_agent_hal9001(): rulespec_registry.register( HostRulespec( - group=RulespecGroupDatasourceProgramsCustom, + group=RulespecGroupDatasourceProgramsTesting, name="special_agents:hal9001", valuespec=_params_special_agent_hal9001, )