Werk #13523: Validate configured rules when updating configuration
Component | Setup |
Title | Validate configured rules when updating configuration |
Date | Jan 10, 2022 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.1.0b1 |
Level | Trivial Change |
Class | New Feature |
Compatibility | Compatible - no manual interaction needed |
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.