Werk #14563: heartbeat_rscstatus: Fix error during update

Component Checks & agents
Title <tt>heartbeat_rscstatus</tt>: Fix error during update
Date Nov 3, 2022
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.2.0i1 2.1.0p16 2.0.0p30
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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