Now compatible with CheckMK 2.2
This commit is contained in:
parent
6712e46cee
commit
cada4abe24
@ -6,6 +6,7 @@ Version History:
|
|||||||
--
|
--
|
||||||
|Date|Version|Changes|
|
|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/27|2.3.1|Fixed bugs in parameter handling|
|
||||||
|2023/03/23|2.2.1|Adjusted parameter handling|
|
|2023/03/23|2.2.1|Adjusted parameter handling|
|
||||||
|||Added check for "free space on disk" (incl. adjustable levels)|
|
|||Added check for "free space on disk" (incl. adjustable levels)|
|
||||||
|
@ -16,8 +16,9 @@ from cmk.gui.valuespec import (
|
|||||||
from cmk.gui.plugins.wato import (
|
from cmk.gui.plugins.wato import (
|
||||||
HostRulespec,
|
HostRulespec,
|
||||||
)
|
)
|
||||||
|
|
||||||
from cmk.gui.plugins.wato.datasource_programs import RulespecGroupDatasourceProgramsCustom
|
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():
|
def _valuespec_special_agent_nextcloud():
|
||||||
return Dictionary(
|
return Dictionary(
|
||||||
@ -52,7 +53,7 @@ def _valuespec_special_agent_nextcloud():
|
|||||||
|
|
||||||
rulespec_registry.register(
|
rulespec_registry.register(
|
||||||
HostRulespec(
|
HostRulespec(
|
||||||
factory_default=watolib.Rulespec.FACTORY_DEFAULT_UNUSED,
|
#factory_default=watolib.Rulespec.FACTORY_DEFAULT_UNUSED,
|
||||||
group=RulespecGroupDatasourceProgramsCustom,
|
group=RulespecGroupDatasourceProgramsCustom,
|
||||||
name="special_agents:nextcloud",
|
name="special_agents:nextcloud",
|
||||||
valuespec=_valuespec_special_agent_nextcloud,
|
valuespec=_valuespec_special_agent_nextcloud,
|
||||||
|
Loading…
Reference in New Issue
Block a user