Werk #14563: heartbeat_rscstatus: Fix error during update

Komponente Checks & agents
Titel <tt>heartbeat_rscstatus</tt>: Fix error during update
Datum 03.11.2022
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.2.0i1 2.1.0p16 2.0.0p30
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks