Refactoring: Changed remaining check parameters starting with an 's' to the new rules...
[check_mk.git] / .werks / 6966
blob3dd1668ddef6a120d7c43bb85c5610ed86499ddd
1 Title: Expose HW/SW inventory via HTTP API
2 Level: 1
3 Component: inv
4 Compatible: compat
5 Edition: cre
6 Version: 1.6.0i1
7 Date: 1547808070
8 Class: feature
10 Check_MK already has an API to retrieve the HW/SW inventory (see Werk
11 #3585), but it is totally separate from the rest of our usual HTTP API.  Now
12 a new <tt>get_inventory</tt> call has been added to the latter, and this is
13 now the recommended way to retrieve the HW/SW inventory.
15 The <tt>get_inventory</tt> call has one mandatory key <tt>hosts</tt>, which
16 has to be a list of host names for which the inventory should be retrieved.
17 In addtion, two optional keys are supported:
19 <ul>
20 <li><tt>paths</tt>: a list of inventory paths for filtering the inventory tree</li>
21 <li><tt>site</tt>: the site to use</li>
22 </ul>