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

Komponente HW/SW-Inventory
Titel Expose HW/SW inventory via HTTP API
Datum 18.01.2019
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 1.6.0b1
Level Kleine Änderung
Klasse Neues Feature
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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
Zur Liste aller Werks