Module: check_mk
Branch: master
Commit: ee498bc7109099cb36cbc7f1a7f5faf61517bf91
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ee498bc7109099…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Apr 13 13:44:02 2016 +0200
3396 Change default setting of Precompile aggregations on demand to ON now
The global setting {{Precompile aggregations on demand}} improves the
performance of BI in case where not all aggregations are needed at once. This
is especially true for the case of single-host aggregations. This setting
now exists for a long time and we have finally regarded that feature as
stable enough in order to make it the default.
We might remove the setting from WATO totally in future.
---
.werks/3396 | 16 ++++++++++++++++
ChangeLog | 1 +
web/plugins/config/bi.py | 2 +-
web/plugins/wato/check_mk_configuration.py | 2 +-
4 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/.werks/3396 b/.werks/3396
new file mode 100644
index 0000000..7fb5a2d
--- /dev/null
+++ b/.werks/3396
@@ -0,0 +1,16 @@
+Title: Change default setting of Precompile aggregations on demand to ON now
+Level: 2
+Component: bi
+Class: feature
+Compatible: compat
+State: unknown
+Version: 1.2.9i1
+Date: 1460547726
+
+The global setting {{Precompile aggregations on demand}} improves the
+performance of BI in case where not all aggregations are needed at once. This
+is especially true for the case of single-host aggregations. This setting
+now exists for a long time and we have finally regarded that feature as
+stable enough in order to make it the default.
+
+We might remove the setting from WATO totally in future.
diff --git a/ChangeLog b/ChangeLog
index 43e5d06..49a8d58 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -264,6 +264,7 @@
BI:
* 3271 New option in aggregation for tuning aggregation of downtimes...
+ * 3396 Change default setting of Precompile aggregations on demand to ON now...
* 3247 FIX: Do not allow multiple BI aggregates with the same title...
* 3232 FIX: BI: Only querying site of host for specific host status info...
* 3291 FIX: Improved error handling when searching for BI aggregations with invalid
regex
diff --git a/web/plugins/config/bi.py b/web/plugins/config/bi.py
index a55b1a3..b2a1485 100644
--- a/web/plugins/config/bi.py
+++ b/web/plugins/config/bi.py
@@ -29,4 +29,4 @@ aggregations = []
host_aggregations = []
bi_packs = {}
bi_compile_log = None
-bi_precompile_on_demand = False
+bi_precompile_on_demand = True
diff --git a/web/plugins/wato/check_mk_configuration.py
b/web/plugins/wato/check_mk_configuration.py
index 66ef2a5..1392ad6 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -398,7 +398,7 @@ register_configvar(group,
"to change the precompilation to be executed on demand. BI only
precompiles the "
"aggregations which are really requested by the users."
),
- default_value = False),
+ default_value = True),
domain = "multisite")
register_configvar(group,