Werk #15698: mk_filestats: Crash on baking with "Deploy without configuration"
Component | Agent bakery | ||||||
Title | mk_filestats: Crash on baking with "Deploy without configuration" | ||||||
Date | Apr 25, 2023 | ||||||
Level | Trivial Change | ||||||
Class | Bug Fix | ||||||
Compatibility | Compatible - no manual interaction needed | ||||||
Checkmk versions & editions |
|
This is a regression that came with Checkmk 2.1.0p26/Werk #15458.
When configuring the agent ruleset Count, size and age of files - mk_filestat (Linux/Solaris) and selecting "Deploy the Filestats plugin without configuration", previously, the agent bakery did crash with a message containing
cmk.utils.exceptions.MKGeneralException: Error running automation call bake-agents (exit code 2), error:
‘bool’ object is not iterable
As a consequence of the fix, the structure of the ruleset had to be adapted to actually support rule merging.
See the inline help of the ruleset for more details.
However, existing rules will be auto-migrated to the new structure.