Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #18033: HW/SW Inventory: Add script & cronjob for transforming inventory trees

Component HW/SW inventory
Title HW/SW Inventory: Add script & cronjob for transforming inventory trees
Date May 14, 2025
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

See werk 18032 for basic information.

The transformation of all inventory trees of all hosts may take very long in large environments. Thus it cannot be done during cmk-update-config and we have to choose another way. There are two mechanisms in place:

  • a cronjob runs once per day at midnight and transforms a bundle of inventory trees one by one

  • you may use the transformation command cmk-transform-inventory-files on your own in order to execute the transformation manually, eg. for specific hosts.

If you are interested in the results then run cmk-transform-inventory-trees --show-results. This might be helpful in order to get a feel for some statistics like the duration of these transformations.

To the list of all Werks