Module: check_mk
Branch: master
Commit: 9a457ef3a884cbdfa41cb05ae36c3169ed769142
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9a457ef3a884cb…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Jan 14 11:17:01 2016 +0100
#2882 Reorganize BI configuration into packs, add contacts and permissions
The WATO module for configuring Business Intelligence (BI) has been
reorganized. The configuration is now split up into <b>Packs</b>. This has
been made for two reasons:
LI:It makes the configuration of large BI environments easier
LI:It allows to delegate BI configuration to normal users
Each pack contains rules and aggregations. A rule or aggregation in one pack
<b>can</b> refer to rules in another pack.
Each BI pack can have a list of contact groups. A new permission has been
introduced: <i>Business Intelligence Rules and Aggregations</i>. Per default
this is set for normal users. It allows a normal user to configure rules
and aggregations in a BI pack if that user is in one of the listed contact
groups of that pack.
A pack can have the checkbox <i>Allow all users to refer to rules contained
in this pack</i> set. That way a user can use rule from a pack where he is
not a contact for. So the admin can put some basic rules there that can be
used but not changed by other.
Your existing BI configuration will automatically be converted the next
time you use the WATO Bi modul. All existing rules and aggregations will
be put in to one BI pack with the name <i>Default Pack</i>.
---
.werks/2882 | 32 ++
ChangeLog | 3 +
web/.gitignore | 1 +
web/htdocs/bi.py | 12 +
web/htdocs/images/button_bi_rules.png | Bin 0 -> 2203 bytes
web/htdocs/images/icon_bi_rules.png | Bin 0 -> 2203 bytes
web/plugins/config/bi.py | 1 +
web/plugins/wato/bi.py | 595 +++++++++++++++++++++++++--------
web/plugins/wato/builtin_modules.py | 2 +-
9 files changed, 502 insertions(+), 144 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=9a457ef3a8…