r.sander
(Robert Sander)
1
Hi,
I am currently trying to migrate the ruleset for check_snmp where cmk.gui.plugins.wato.SNMPCredentials is in use.
When this is used in a new style ruleset the application throws an exception: AttributeError: 'Alternative' object has no attribute 'migrate'.
How do I migrate my ruleset?
r.sander
(Robert Sander)
2
Hi @moritz,
why is SNMPCredentials() still returning an Alternative() in the git master branch?
Shouldn’t this also use the form_specs API you force us to use?
r.sander
(Robert Sander)
3
There should be a wrapper for the converter to tell not to convert this ValueSpec.
moritz
(moritz)
4
Found it. It’s only in 2.4 though. Grep for LegacyValueSpec.
1 Like