Module: check_mk
Branch: master
Commit: 344766f2e6488853fea819323cc2500a0b441610
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=344766f2e64888…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Apr 29 10:09:43 2015 +0200
#2073 FIX BI aggregation: fixed exception when showing clusters in BI boxes
---
.werks/2073 | 10 ++++++++++
ChangeLog | 1 +
web/htdocs/bi.py | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/2073 b/.werks/2073
new file mode 100644
index 0000000..bc40c47
--- /dev/null
+++ b/.werks/2073
@@ -0,0 +1,10 @@
+Title: BI aggregation: fixed exception when showing clusters in BI boxes
+Level: 2
+Component: bi
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1430294914
+
+
diff --git a/ChangeLog b/ChangeLog
index 4a2b5ba..b798887 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -499,6 +499,7 @@
* 2020 FIX: Fixed non working FOREACH_CHILD mechanism for BI rules
* 2085 FIX: Host search for child nodes can now filter child nodes by tags or
patterns...
* 1897 FIX: Fixed exception in BI Availability view...
+ * 2073 FIX: BI aggregation: fixed exception when showing clusters in BI boxes
Reporting & Availability:
* 1990 FIX: Fix two exceptions in PDF exports of host group views
diff --git a/web/htdocs/bi.py b/web/htdocs/bi.py
index adb6e5a..65fb561 100644
--- a/web/htdocs/bi.py
+++ b/web/htdocs/bi.py
@@ -1229,7 +1229,7 @@ def get_status_info_filtered(filter_header, only_sites, limit,
add_columns, fetc
if fetch_parents:
parent_filter = []
for row in data:
- parent_filter += [ 'Filter: name = %s\n' % p for p in row[7] ]
+ parent_filter += [ 'Filter: name = %s\n' % p for p in row[8] ]
parent_filter_txt = ''.join(parent_filter)
parent_filter_txt += 'Or: %d\n' % len(parent_filter)
for row in get_status_info_filtered(filter_header, only_sites, limit,
add_columns, False, bygroup):