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

Werk #14563: heartbeat_rscstatus: Fix error during update

Component Checks & agents
Title heartbeat_rscstatus: Fix error during update
Date Nov 3, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0p16 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
2.0.0p30 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

During discovery the plugin heartbeat_rscstatus stores its discovery state. Updating Checkmk from 2.0.0 to 2.1.0 or updates within those versions would cause these states to be lost. This is indicated by following error message:

-| 8/27 Rewriting autochecks...
-| Transform failed: host='host', plugin='heartbeat_rscstatus', ruleset='heartbeat_rscstatus', params={'discovered_state': 'none'}, error=AssertionError('non-empty params vanished')

With this werk, the states are correctly persisted.

To the list of all Werks