Werk #13523: Validate configured rules when updating configuration

Komponente Setup
Titel Validate configured rules when updating configuration
Datum 10.01.2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.1.0b1
Level Kleine Änderung
Klasse Neues Feature
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

The Checkmk update procedure (cmk-update-config) now validates most of the configured rules and logs "WARNING: Invalid rule configuration detected" in case of an error. If you encounter such errors, your configuration contains rules that need to be corrected. We recommend to open the affected rules in the GUI. Upon attempting to save them, any problematic field will be highlighted.

Invalid rule values can for example originate from invalid regular expressions, which were unfortunately still allowed in Python 2 but are forbidden in Python 3, see also https://checkmk.com/de/werk/11974.

Zur Liste aller Werks