Module: check_mk
Branch: master
Commit: 350b01ff75e6951421cce0c4a24492f3f1d88dd4
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=350b01ff75e695…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Jan 20 17:46:54 2015 +0100
#1846 Keep track of changes of software and hardware
The HW/SW-Inventory module now keeps tracks of changes of the hardware and
software on a system: Each time an inventory is being done the outcome is
being compared with the data from the last time. If a change has been detected,
a copy of the previous inventory data is being stored for later reference (in
<tt>var/check_mk/inventory_archive</tt>). The check <tt>HW/SW
Inventory</tt>
can be configured with the WATO ruleset <i>Do hardware/software Inventory</i>
to report a WARN or CRIT state if one of hardware or software has changed.
Secondly - if you are viewing details of a host - a button <i>Inventory
History</i> brings you to a new view of the historic development of the
host's hardware and software. At the beginning this button is hidden
behind the <i>[...]</i>-button (as usual). The history shows you each point
of time where at least one item of the inventory data has changed. That
way you can easily keep track of new installed software, exchanged
hard disks, BIOS updates and much more.
---
.werks/1846 | 23 +++
ChangeLog | 1 +
checks/check_cmk_inv | 8 +-
doc/treasures/liveproxy/liveproxyd | 15 ++
modules/check_mk.py | 12 +-
modules/inventory.py | 113 ++++++++++----
web/htdocs/inventory.py | 172 +++++++++++++++++++-
web/htdocs/status.css | 5 +
web/htdocs/views.css | 8 +
web/htdocs/views.py | 8 +-
web/plugins/views/datasources.py | 2 +-
web/plugins/views/inventory.py | 302 ++++++++++++++++++++++++++++++------
web/plugins/views/sorters.py | 4 +-
web/plugins/visuals/infos.py | 5 +
web/plugins/wato/inventory.py | 36 +++--
15 files changed, 614 insertions(+), 100 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=350b01ff75…