Module: check_mk
Branch: master
Commit: 8c08e511dd4c6b43a44b4fe96a1fd5557f2a32ac
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8c08e511dd4c6b…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Oct 2 14:34:11 2017 +0200
5359 FIX Reduced size of PDF exports containing graphs
The size of PDF exports increased dramatically when graphs were shown. This
was caused by the gradients used in the rendered metric areas.
For example a PDF with 10 graphs had a size of 6 MB with gradients compared
to 260 KB without gradients. The gradients have now been dropped completely.
Change-Id: I1e6b05a26a6b11da3b490d9ed12bf49c4aff57eb
---
.werks/5359 | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/.werks/5359 b/.werks/5359
new file mode 100644
index 0000000..b1fde2d
--- /dev/null
+++ b/.werks/5359
@@ -0,0 +1,16 @@
+Title: Reduced size of PDF exports containing graphs
+Level: 2
+Component: reporting
+Class: fix
+Compatible: compat
+Edition: cee
+State: unknown
+Version: 1.5.0i1
+Date: 1506947471
+
+The size of PDF exports increased dramatically when graphs were shown. This
+was caused by the gradients used in the rendered metric areas.
+
+For example a PDF with 10 graphs had a size of 6 MB with gradients compared
+to 260 KB without gradients. The gradients have now been dropped completely.
+
Module: check_mk
Branch: master
Commit: 43d8f6ed6ad5186fc2a663d08a0ad6431c9cdd74
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=43d8f6ed6ad518…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Oct 2 13:40:10 2017 +0200
EC: Removed debug code
Change-Id: Iec5b25707c87eb79baaa44044e8f6f5d1e441952
---
bin/mkeventd | 2 --
1 file changed, 2 deletions(-)
diff --git a/bin/mkeventd b/bin/mkeventd
index c162969..de1d389 100755
--- a/bin/mkeventd
+++ b/bin/mkeventd
@@ -1783,8 +1783,6 @@ class EventServer(ECServerThread):
host_downtimes = {}
for event in g_event_status.events():
- if "host_in_downtime" not in event:
- self.logger.warning(repr(event))
if not event["host_in_downtime"]:
continue # only care about events created in downtime