From f06a32bf809c775de497da18873fce9a87b1bc85 Mon Sep 17 00:00:00 2001 From: mellis Date: Sun, 21 Jan 2024 14:03:55 +0100 Subject: [PATCH] moved to application section of other integrations --- local/share/check_mk/agents/special/agent_mailcow | 2 +- .../share/check_mk/web/plugins/wato/mailcow_params.py | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/local/share/check_mk/agents/special/agent_mailcow b/local/share/check_mk/agents/special/agent_mailcow index b34f409..d4d36c8 100755 --- a/local/share/check_mk/agents/special/agent_mailcow +++ b/local/share/check_mk/agents/special/agent_mailcow @@ -89,7 +89,7 @@ def debugLog(function): out2 = "" for arg in args: out2 = out2 + SEP + str(arg) - # out 3: all keyword arguments + # out3: all keyword arguments out3 = "" if len_kwargs > 0: for key, val in kwargs.items(): diff --git a/local/share/check_mk/web/plugins/wato/mailcow_params.py b/local/share/check_mk/web/plugins/wato/mailcow_params.py index 115340c..ad18a07 100644 --- a/local/share/check_mk/web/plugins/wato/mailcow_params.py +++ b/local/share/check_mk/web/plugins/wato/mailcow_params.py @@ -2,7 +2,14 @@ from cmk.gui.i18n import _ from cmk.gui.plugins.wato import ( CheckParameterRulespecWithItem, rulespec_registry, - RulespecGroupCheckParametersOperatingSystem, +) + +from cmk.gui.plugins.wato.special_agents.common import ( + RulespecGroupDatasourceProgramsApps, + RulespecGroupDatasourceProgramsCustom, + RulespecGroupDatasourceProgramsHardware, + RulespecGroupDatasourceProgramsOS, + RulespecGroupDatasourceProgramsTesting, ) from cmk.gui.valuespec import ( @@ -43,7 +50,7 @@ def _valuespec_special_agent_mailcow(): rulespec_registry.register( HostRulespec( - group=RulespecGroupDatasourceProgramsCustom, + group=RulespecGroupDatasourceProgramsApps, name="special_agents:mailcow", valuespec=_valuespec_special_agent_mailcow, )