Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #16619: Ruleset API: Ruleset validation

Component Checks & agents
Title Ruleset API: Ruleset validation
Date Mar 11, 2024
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.4.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.3.0b3 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

Rulespec/ruleset names now have to be valid python identifiers that are not reserved keywords. This also applies to choice identifiers in FormSpecs.

The validation occurs during instantiation and will raise a ValueError when a violation is found.

To the list of all Werks