Module: check_mk
Branch: master
Commit: 03e1b1c2a6d23129e77d141080c84ded7d083939
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=03e1b1c2a6d231…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Mar 10 12:51:05 2014 +0100
Use hard states in BI aggregates
Check_MK BI is now able to base the computation of the state of an BI aggregate
on hard states of hosts and services. This is a new option at the top level
of a BI aggregate. In WATO this is a new check box in each aggregation called
<i>Base state computation on hard states</i>.
When you edit your BI aggregates with a text editor then simply prefix
your aggregation entries with the keyword <tt>HARD_STATES</tt>. Here
is an example:
F+:etc/check_mk/multisite.d/mybi.mk
host_aggregations += [
( HARD_STATES, 'Hosts', FOREACH_HOST, ['tcp'], ALL_HOSTS,
'host', ['$1$']),
]
F-:
<b>Note</b>: Please make sure that all of your monitoring sites are
updated to the same Check_MK version as your Multisite server. This new
BI features needs an up-to-date Livestatus implementation.
---
.werks/721 | 25 ++++++++++++++++++++++
ChangeLog | 1 +
livestatus/src/ServicelistColumn.cc | 12 +++++++++++
livestatus/src/TableHosts.cc | 3 +++
web/htdocs/bi.py | 40 +++++++++++++++++++++++------------
web/htdocs/config.py | 1 +
web/htdocs/wato.py | 20 ++++++++++++++++++
7 files changed, 88 insertions(+), 14 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=03e1b1c2a6…