Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #19885: Fix crash when a predefined condition's unique ID contains a dash

Component Setup
Title Fix crash when a predefined condition's unique ID contains a dash
Date Jul 27, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p11
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

Previously, if a Predefined condition had a unique ID containing a dash (e.g. "my-condition"), creating or editing any rule crashed with an error similar to:

Internal error: 'my-condition' is not a valid, non-reserved Python identifier

This affected all rules, not just the one using the predefined condition. This change fixes that behavior and now dash containing predefined rules unique ID are allowed

To the list of all Werks