Module: check_mk
Branch: master
Commit: 6a886c471038c86cf45390586b1ad5187a86a7b7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6a886c471038c8…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri May 2 12:43:42 2014 +0200
New snapin with virtual host trees
We have added a new snapin to Multisite: <i>Virtual Host Tree</i>. This snapin
allows you to
have trees of your hosts created based upon tags. In order to use this simply add the
snapin
to your sidebar and go to the <i>Global Settings</i>, section <i>Status
GUI (Multisite)</i>
and the new setting <i>Virtual Host Trees</i>.
You can create an arbitrary number of virtual trees. They will be globally visible for
all users. Each tree consists of a sequence of tag groups. Let's assume that you have
created a virtual tree from the three fictive tag groups <i>Location</i>,
<i>Application</i>
and <i>Criticality</i>. The virtual host tree will then have tree levels. At
the
top level there is the selection of the location, on the second level the application
and on the leaf-level the criticality.
A click of an arbitrary node of the tree brings you to all hosts having the selected
tags.
---
.werks/963 | 21 +++
ChangeLog | 1 +
web/htdocs/js/checkmk.js | 21 ++-
web/htdocs/js/sidebar.js | 7 +
web/htdocs/sidebar.css | 2 +-
web/htdocs/sidebar.py | 7 +
web/htdocs/valuespec.py | 46 +++++--
web/htdocs/wato.py | 1 +
web/plugins/config/builtin.py | 3 +
web/plugins/pages/shipped.py | 1 +
web/plugins/sidebar/shipped.py | 192 ++++++++++++++++++++++++++++
web/plugins/sidebar/wato.py | 1 +
web/plugins/views/builtin.py | 4 +-
web/plugins/wato/check_mk_configuration.py | 37 ++++++
14 files changed, 324 insertions(+), 20 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=6a886c4710…