Checkmk 2.0 ist hier! Alle Neuigkeiten erfahren.

Werk #12354: Uneditable WATO rules: "You are trying to edit a rule which does not exist anymore."

Komponente WATO
Titel Uneditable WATO rules: "You are trying to edit a rule which does not exist anymore."
Datum 10.03.2021
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.0.0p1 2.1.0i1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

During cmk-update-config we re-write the WATO rules. In case the transformation of a value of an individual rule failed, we did not write the transformed rulesets at all. This lead to rules that could not be edited (the reported error was "You are trying to edit a rule which does not exist anymore."). This could be mitigated by temporarily adding a new rule; after that you could edit the pre-existing rules.

With this werk, we write the transformed rulesets even if the transformation of single rules' values failed. That way, you can at least work with all of the other rules, and replace the offending ones.

If this affects you, you can simply re-run cmk-update-config.

Zur Liste aller Werks