Now compatible with CheckMK 2.2

This commit is contained in:
Ralf Mellis 2023-08-12 16:38:05 +02:00
parent 6712e46cee
commit cada4abe24
2 changed files with 4 additions and 2 deletions

View File

@ -6,6 +6,7 @@ Version History:
--
|Date|Version|Changes|
|----|-------|-------|
|2023/08/12|2.3.2|MKP now compatible with CheckMK 2.2|
|2023/03/27|2.3.1|Fixed bugs in parameter handling|
|2023/03/23|2.2.1|Adjusted parameter handling|
|||Added check for "free space on disk" (incl. adjustable levels)|

View File

@ -16,8 +16,9 @@ from cmk.gui.valuespec import (
from cmk.gui.plugins.wato import (
HostRulespec,
)
from cmk.gui.plugins.wato.datasource_programs import RulespecGroupDatasourceProgramsCustom
import cmk.gui.watolib as watolib
#import cmk.gui.watolib as watolib
def _valuespec_special_agent_nextcloud():
return Dictionary(
@ -52,7 +53,7 @@ def _valuespec_special_agent_nextcloud():
rulespec_registry.register(
HostRulespec(
factory_default=watolib.Rulespec.FACTORY_DEFAULT_UNUSED,
#factory_default=watolib.Rulespec.FACTORY_DEFAULT_UNUSED,
group=RulespecGroupDatasourceProgramsCustom,
name="special_agents:nextcloud",
valuespec=_valuespec_special_agent_nextcloud,