Werk #17222: HW/SW inventory: Retain inventory history on central site

Component Site management
Title HW/SW inventory: Retain inventory history on central site
Date Jan 13, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p25 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p39 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This change affects customers, which are monitoring hosts on a remote site. Previously, the Inventory history of host would sporadically disappear on the central site, even though it was shown correctly on the remote site. This was due to an incorrect implementation of the diskspace utility. This implementation assumed that the historic data was only needed on the remote site. With this change, diskspace will only consider deleting the inventory history of hosts, which have been deleted.

The faulty behaviour was introduced in #Werk 13422. A similar, but different issue, is addressed in #Werk 17223.

To the list of all Werks