Module: check_mk
Branch: master
Commit: 95848f87ff1b462fe945636dfd91e30a8563c23e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=95848f87ff1b46…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri Jan 18 11:56:28 2019 +0100
6966 Expose HW/SW inventory via HTTP API
Check_MK already has an API to retrieve the HW/SW inventory (see Werk
a new <tt>get_inventory</tt> call has been added to the latter, and this is
now the recommended way to retrieve the HW/SW inventory.
The <tt>get_inventory</tt> call has one mandatory key
<tt>hosts</tt>, which
has to be a list of host names for which the inventory should be retrieved.
In addtion, two optional keys are supported:
<ul>
<li><tt>paths</tt>: a list of inventory paths for filtering the
inventory tree</li>
<li><tt>site</tt>: the site to use</li>
</ul>
Change-Id: Ibf0efe0bf299021029b084ce076fcb293b7d8d02
---
.werks/6966 | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/.werks/6966 b/.werks/6966
new file mode 100644
index 0000000..3dd1668
--- /dev/null
+++ b/.werks/6966
@@ -0,0 +1,22 @@
+Title: Expose HW/SW inventory via HTTP API
+Level: 1
+Component: inv
+Compatible: compat
+Edition: cre
+Version: 1.6.0i1
+Date: 1547808070
+Class: feature
+
+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 <tt>get_inventory</tt> call has been added to the latter, and this is
+now the recommended way to retrieve the HW/SW inventory.
+
+The <tt>get_inventory</tt> call has one mandatory key
<tt>hosts</tt>, which
+has to be a list of host names for which the inventory should be retrieved.
+In addtion, two optional keys are supported:
+
+<ul>
+<li><tt>paths</tt>: a list of inventory paths for filtering the
inventory tree</li>
+<li><tt>site</tt>: the site to use</li>
+</ul>