Module: check_mk
Branch: master
Commit: 715243e118c5e75954464a97e40f261fe345c6b2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=715243e118c5e7…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Sep 16 16:37:07 2015 +0200
#2598 FIX Remove button for removing downtimes an BI aggregates because it cannot work
This button has never worked and was never intended. Currently you can set
a downtime on all services and hosts contained in a BI aggregation. But
there is no way - alas - to revert this and remove all those downtimes. The
reason is that for creating a downtime you just need the name of a host and
service. For removing one you need its ID. And that is not available in BI.
---
.werks/2598 | 14 ++++++++++++++
ChangeLog | 1 +
web/plugins/views/bi.py | 6 +++---
3 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/.werks/2598 b/.werks/2598
new file mode 100644
index 0000000..3be3b0c
--- /dev/null
+++ b/.werks/2598
@@ -0,0 +1,14 @@
+Title: Remove button for removing downtimes an BI aggregates because it cannot work
+Level: 1
+Component: multisite
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i3
+Date: 1442414132
+
+This button has never worked and was never intended. Currently you can set
+a downtime on all services and hosts contained in a BI aggregation. But
+there is no way - alas - to revert this and remove all those downtimes. The
+reason is that for creating a downtime you just need the name of a host and
+service. For removing one you need its ID. And that is not available in BI.
diff --git a/ChangeLog b/ChangeLog
index 66b10b5..b050fb5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -232,6 +232,7 @@
* 2580 FIX: Remove bogus ;0 in comment of problem acknowledgements...
* 2604 FIX: Dashboards: Improved error handling in case of broken dashlet
* 2597 FIX: Fix settings downtimes on BI aggregates in distributed environment...
+ * 2598 FIX: Remove button for removing downtimes an BI aggregates because it cannot
work...
WATO:
* 2365 Removed old deprecated notification global options for plain emails...
diff --git a/web/plugins/views/bi.py b/web/plugins/views/bi.py
index 3fd48c3..0288419 100644
--- a/web/plugins/views/bi.py
+++ b/web/plugins/views/bi.py
@@ -45,7 +45,7 @@ multisite_datasources["bi_aggregations"] = {
multisite_datasources["bi_host_aggregations"] = {
"title" : _("BI Aggregations affected by one host"),
"table" : bi.host_table,
- "infos" : [ "host", "aggr" ],
+ "infos" : [ "aggr", "host" ],
"keys" : [],
"idkeys" : [ 'aggr_name' ],
}
@@ -55,7 +55,7 @@ multisite_datasources["bi_host_aggregations"] = {
multisite_datasources["bi_hostname_aggregations"] = {
"title" : _("BI Hostname Aggregations"),
"table" : bi.hostname_table,
- "infos" : [ "host", "aggr" ],
+ "infos" : [ "aggr", "host" ],
"keys" : [],
"idkeys" : [ 'aggr_name' ],
}
@@ -64,7 +64,7 @@ multisite_datasources["bi_hostname_aggregations"] = {
multisite_datasources["bi_hostnamebygroup_aggregations"] = {
"title" : _("BI Aggregations for Hosts by Hostgroups"),
"table" : bi.hostname_by_group_table,
- "infos" : [ "host", "aggr", "hostgroup"
],
+ "infos" : [ "aggr", "host" "hostgroup"
],
"keys" : [],
"idkeys" : [ 'aggr_name' ],
}