Hi,
I just tried your plugin from the CMK-exchange with CMK 2.3. It seems to work fine. But the UI for the rulesets failed to load.
A missing "Float"-import in web/wato/plugins/mikrotik_sfp.py is the problem:
`cat mikrotik_sfp.py
#!/usr/bin/env python3
[...]
from cmk.gui.i18n import _
from cmk.gui.valuespec import (
Dictionary,
Float, <---- This is missing
Integer,
Tuple,
TextAscii,
Checkbox,
)
`
After adding the import it worked
Thanks for the plugin + best regards
Micha
Hi,
I just tried your plugin from the CMK-exchange with CMK 2.3. It seems to work fine. But the UI for the rulesets failed to load.
A missing "Float"-import in web/wato/plugins/mikrotik_sfp.py is the problem:
`cat mikrotik_sfp.py
#!/usr/bin/env python3
[...]
from cmk.gui.i18n import _
from cmk.gui.valuespec import (
Dictionary,
Float, <---- This is missing
Integer,
Tuple,
TextAscii,
Checkbox,
)
`
After adding the import it worked
Thanks for the plugin + best regards
Micha