Werk #6966: Expose HW/SW inventory via HTTP API

Component HW/SW inventory
Title Expose HW/SW inventory via HTTP API
Date Jan 18, 2019
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.6.0b1
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed

Check_MK already has an API to retrieve the HW/SW inventory (see Werk

3585), but it is totally separate from the rest of our usual HTTP API. Now

a new get_inventory call has been added to the latter, and this is now the recommended way to retrieve the HW/SW inventory.

The get_inventory call has one mandatory key hosts, which has to be a list of host names for which the inventory should be retrieved. In addtion, two optional keys are supported:

  • paths: a list of inventory paths for filtering the inventory tree
  • site: the site to use

To the list of all Werks