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 |
|
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.