Werk #14552: Invalid rule configuration for static checks after upgrade

Component Checks & agents
Title Invalid rule configuration for static checks after upgrade
Date Aug 26, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0p11 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p28 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When upgrading a 1.6.0 site, the configuration data for manual checks (also known as enforced services or static checks) would only be partially updated. Specifically, the "Checktype" would not be updated to reflect new plug-in names. This would result in warnings such as this,

-| WARNING: Invalid rule configuration detected (Ruleset: static_checks:fileinfo-groups, Title: Size, age and count of file groups, Folder: ,

-| Rule nr: 1, Exception: fileinfo.groups is not an existing element in this selection.)

during upgrades from 2.0.0 to 2.1.0. With this werk, the checktype is automatically transformed during the update step.

To the list of all Werks