Free on-demand webinars: Learn how to set up, configure, and get more out of Checkmk – Pick your webinar

Werk #19381: HW/SW Inventory: Saving trees with retention intervals for table columns failed

Component HW/SW inventory
Title HW/SW Inventory: Saving trees with retention intervals for table columns failed
Date Nov 11, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p22
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

If a rule Retention intervals for HW/SW inventory kept columns of a table, the service Check_MK HW/SW Inventory crashed with:

TypeError: keys must be str, int, float, bool or None, not tuple

The retention intervals of a table were keyed by the values of the row's key columns. JSON, the format of saved inventory trees, cannot store such keys, so no inventory tree was saved for the affected hosts.

The retention intervals of tables are now saved in a format JSON can store. Inventory trees saved by earlier versions can still be read.

To the list of all Werks