Module: check_mk
Branch: master
Commit: 5b05cde3da2adc8a2bd4b76ad5967bce976ab913
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5b05cde3da2adc…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Sep 2 11:16:32 2015 +0200
#2573 FIX Fix influance of service period to the availability of BI aggregates
When computing the availability the influence of the service period of BI
aggregates was simply ignored. This has been fixed.
---
.werks/2573 | 11 +++++++++++
ChangeLog | 1 +
web/htdocs/availability.py | 2 +-
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/2573 b/.werks/2573
new file mode 100644
index 0000000..67ba247
--- /dev/null
+++ b/.werks/2573
@@ -0,0 +1,11 @@
+Title: Fix influance of service period to the availability of BI aggregates
+Level: 2
+Component: bi
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i3
+Date: 1441185337
+
+When computing the availability the influence of the service period of BI
+aggregates was simply ignored. This has been fixed.
diff --git a/ChangeLog b/ChangeLog
index 8c896b2..e8281ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -224,6 +224,7 @@
* 2369 FIX: Fix exception in BI availability via table "Hostname
Aggregations"
* 2370 FIX: Fix computation of "in downtime" and "acknownledged"
of hosts in BI aggregations...
* 2485 FIX: Fix Icon "BI Aggregations containing this service", also avoid
BI compilation without need...
+ * 2573 FIX: Fix influance of service period to the availability of BI aggregates...
Event Console:
* 2411 Check check_mkevents: Now able to look for events matching the host alias...
diff --git a/web/htdocs/availability.py b/web/htdocs/availability.py
index ff7b149..28f8e01 100644
--- a/web/htdocs/availability.py
+++ b/web/htdocs/availability.py
@@ -1355,7 +1355,7 @@ def get_bi_spans(tree, aggr_group, avoptions, timewarp):
"host_name" : aggr_group,
"service_description" : tree['title'],
"in_notification_period" : 1,
- "in_service_period" : True,
+ "in_service_period" :
tree_state[0]['in_service_period'],
"in_downtime" : tree_state[0]['in_downtime'],
"in_host_downtime" : 0,
"host_down" : 0,