Werk #18860: Validate host conditions in rules on update

Component Setup
Title Validate host conditions in rules on update
Date Oct 29, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p16
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p40 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Since 2.3, host names in rule host conditions are validated.

Previously, users sometimes entered a pattern like 'MYHOST*' without prefixing it with '~' to mark it as a regex. In such cases, the ruleset pages could break.

Now, the pre-update check also validates host conditions. The update can be aborted if invalid values are detected, preventing broken rulesets.

To the list of all Werks