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

Werk #18176: disktat: fix rulespec migration when using the API

Component Checks & agents
Title disktat: fix rulespec migration when using the API
Date Aug 11, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.4.0p10 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

When using the API to create rules, the diskstat rulespec would migrate provided conifguration values and eventually drop unknown keys, as well as add missing keys without feedback.

With this werk, the migration will only add default keys and values when they are missing. Other keys and values will be kept and will be subsequently rejected by the validation.

To the list of all Werks