Module: check_mk
Branch: master
Commit: aa85a030a5245cdc473445ab7ef38fa498abf2fc
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=aa85a030a5245c…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sat Nov 2 18:14:26 2013 +0100
New concept of favorite hosts and services plus matching filters and views
The new "Favorites" feature introduces a new pair of commands for hosts
and services: <i>Add to favourites</i> and <i>Remove from favourites</i>.
It allows you to manage your personal list of favourite hosts and
services. This list is saved on a per-user-base. Objects on this list are
marked with a star icon.
The favourites-list can be used for filtering. Two new predefined views
"Favourite hosts" and "Favourite services" are available for showing you
favourite objects. Also the new filters have been added to several views.
Please note, that when you make a host a favourite, the services of that host
will not automatically get favourites as well. But you easily can use the
"Service Search" view for listing all services on favorite hosts, if you
like that behaviour.
With a combination of the existing filters you can do many useful queries
like "Show me all problems on my favourite hosts in host group X".
The advantage of favourites as opposed to host- and service groups are:
<ul>
<li>No change to the monitoring configuration is neccessary and thus no restart of the core.</li>
<li>Each user can manage his indiviual list.</li.
</ul>
---
.werks/50 | 29 +++++++++
ChangeLog | 1 +
web/htdocs/check_mk.css | 6 ++
web/htdocs/images/icon_starred.png | Bin 0 -> 2914 bytes
web/htdocs/views.py | 1 +
web/plugins/icons/builtin.py | 33 ++++++++++
web/plugins/views/builtin.py | 116 ++++++++++++++++++++++++++++++++++++
web/plugins/views/commands.py | 65 ++++++++++++++++++--
web/plugins/views/filters.py | 56 ++++++++++++++++-
9 files changed, 300 insertions(+), 7 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=aa85a030a5…