Skip to content

UI-Ruleset definition fails on CMK 2.3 (and probably on 2.2) #2

@hxx3000

Description

@hxx3000

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions