Module: check_mk
Branch: master
Commit: c54c27ad11eb91026bf240926788ce2f993f96e9
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c54c27ad11eb91…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Tue Dec 12 17:10:44 2017 +0100
5482 Add option to specify a timeperiod for notification bulking
The option "Bulking period" can be used in notification rules to
specify a time period for which notifications should always be
bulked. After the timeperiod has ended the notifications of the
bulk will be sent. This option is useful if e.g. after the
working hours no notifications should be sent.
Change-Id: Ibe4dec64649d2a08f62fa8d7234c02cdd842d8db
---
.werks/5482 | 14 ++++
cmk_base/checking.py | 8 +-
cmk_base/core.py | 18 ++--
cmk_base/notify.py | 202 +++++++++++++++++++++++++++++++++------------
web/htdocs/valuespec.py | 10 +--
web/htdocs/wato.py | 212 ++++++++++++++++++++++++++----------------------
6 files changed, 297 insertions(+), 167 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=c54c27ad11…
Module: check_mk
Branch: master
Commit: 6d21bd4e335b46aa40c04f7654c9396220f1d4b6
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6d21bd4e335b46…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Thu Jan 4 12:43:57 2018 +0100
5552 FIX reporting: Fixed unreasonable high timeout for availability elements
The option "Query Time Limit" is not available for the availability element
in reports and is instead hardcoded. The value has originally been set to
5*60*3600 (300 hrs) but should have been to 5 minutes. This bug has always
been in this element and is fixed as of now.
Change-Id: Ib208f6f3d2910cc737497a90844b33781609c2b9
---
.werks/5552 | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/.werks/5552 b/.werks/5552
new file mode 100644
index 0000000..4404ccb
--- /dev/null
+++ b/.werks/5552
@@ -0,0 +1,13 @@
+Title: reporting: Fixed unreasonable high timeout for availability elements
+Level: 1
+Component: reporting
+Compatible: compat
+Edition: cee
+Version: 1.5.0i3
+Date: 1515065877
+Class: fix
+
+The option "Query Time Limit" is not available for the availability element
+in reports and is instead hardcoded. The value has originally been set to
+5*60*3600 (300 hrs) but should have been to 5 minutes. This bug has always
+been in this element and is fixed as of now.
Module: check_mk
Branch: master
Commit: 5d09c16ecb33f0a9d439115317a0fd28b2fcf1d0
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5d09c16ecb33f0…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jan 8 11:25:36 2018 +0100
5594 FIX Custom graphs: Fixed rendering titles of "sidebar hidden" custom graphs on graph list page
The title of the custom graphs was not shown on the graph list page for graphs that are configured
to be hidden from the sidebar.
Change-Id: Icdbef0adb66d5c775f6460fac406311b234ca175
---
.werks/5594 | 12 ++++++++++++
web/htdocs/pagetypes.py | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/5594 b/.werks/5594
new file mode 100644
index 0000000..cd5a1ca
--- /dev/null
+++ b/.werks/5594
@@ -0,0 +1,12 @@
+Title: Custom graphs: Fixed rendering titles of "sidebar hidden" custom graphs on graph list page
+Level: 1
+Component: multisite
+Class: fix
+Compatible: compat
+Edition: cee
+State: unknown
+Version: 1.5.0i3
+Date: 1515407044
+
+The title of the custom graphs was not shown on the graph list page for graphs that are configured
+to be hidden from the sidebar.
diff --git a/web/htdocs/pagetypes.py b/web/htdocs/pagetypes.py
index 3153a19..b706c53 100644
--- a/web/htdocs/pagetypes.py
+++ b/web/htdocs/pagetypes.py
@@ -393,7 +393,7 @@ class PageRenderer(Base):
if not self.is_hidden():
return html.render_a(self.title(), href=self.page_url())
else:
- return ""
+ return self.title()
#.
Module: check_mk
Branch: master
Commit: be74ef90838ca92a010615470ce5d80b1b631766
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=be74ef90838ca9…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Jan 2 15:31:24 2018 +0100
5590 FIX Fixed possible deadlock in shutdown/restart procedure
During the shutdown/restart procedure of the livestatus proxy
daemon a deadlock could occur. It seems this could rarely happen
when the system running the process is under high load together
with a large number of sites (>100) configured.
When this situation occures, you can see several left over
liveproxyd processes (master + several site processes) which
can only be terminated with SIGKILL. When looking at the processes
with strace, you can see hanging futex() calls.
Workaround: In such a situation it is safe to simply kill all those
processes using SIGKILL and start a clean liveproxyd processes after
that.
Change-Id: I56dd9bb0d0f01bbe7a394a74bc9d0d047f95265f
---
.werks/5590 | 22 ++++++++++++++++++++++
tests/livestatus/test_liveproxyd.py | 6 ++++--
2 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/.werks/5590 b/.werks/5590
new file mode 100644
index 0000000..ee69425
--- /dev/null
+++ b/.werks/5590
@@ -0,0 +1,22 @@
+Title: Fixed possible deadlock in shutdown/restart procedure
+Level: 1
+Component: liveproxy
+Compatible: compat
+Edition: cee
+Version: 1.5.0i3
+Date: 1514903032
+Class: fix
+
+During the shutdown/restart procedure of the livestatus proxy
+daemon a deadlock could occur. It seems this could rarely happen
+when the system running the process is under high load together
+with a large number of sites (>100) configured.
+
+When this situation occures, you can see several left over
+liveproxyd processes (master + several site processes) which
+can only be terminated with SIGKILL. When looking at the processes
+with strace, you can see hanging futex() calls.
+
+Workaround: In such a situation it is safe to simply kill all those
+processes using SIGKILL and start a clean liveproxyd processes after
+that.
diff --git a/tests/livestatus/test_liveproxyd.py b/tests/livestatus/test_liveproxyd.py
index b451b2b..ea0662e 100644
--- a/tests/livestatus/test_liveproxyd.py
+++ b/tests/livestatus/test_liveproxyd.py
@@ -6,8 +6,6 @@ import pytest
import signal
from testlib import web
-pytestmark = pytest.mark.skipif(True, reason="liveproxyd remains in an unkillable state with tons of child processes")
-
@pytest.fixture(scope="module")
def default_cfg(web):
print "Applying default config"
@@ -182,6 +180,9 @@ def test_large_number_of_sites(default_cfg, site):
site.write_file("etc/check_mk/conf.d/liveproxyd-test.mk",
"cmc_livestatus_threads = %d\n" % (num_channels*num_sites + 20))
+ site.write_file("etc/check_mk/multisite.d/sites.mk",
+ "sites.update(%r)\n" % livestatus_api_sites)
+
site.execute(["cmk", "-O"])
# Disable limits of livestatus xinetd service
@@ -218,3 +219,4 @@ def test_large_number_of_sites(default_cfg, site):
finally:
_use_liveproxyd_for_local_site(site, proto="unix")
site.delete_file("etc/check_mk/conf.d/liveproxyd-test.mk")
+ site.delete_file("etc/check_mk/multisite.d/sites.mk")
Module: check_mk
Branch: master
Commit: 371816eb4e04488b7412c31ed9b892573749f54f
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=371816eb4e0448…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jan 2 16:44:37 2017 +0100
5592 FIX Fixed broken graph panning (at least in Firefox)
The graph panning (moving vertical and time axes with drag/drop)
was not working as expected in all situtations. At least when using
the current Firefox it did not work.
Change-Id: I75b928aab5ec5320f26c8f9587cc413218d59f45
---
.werks/5592 | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/.werks/5592 b/.werks/5592
new file mode 100644
index 0000000..c650551
--- /dev/null
+++ b/.werks/5592
@@ -0,0 +1,12 @@
+Title: Fixed broken graph panning (at least in Firefox)
+Level: 1
+Component: metrics
+Compatible: compat
+Edition: cee
+Version: 1.5.0i3
+Date: 1483371877
+Class: fix
+
+The graph panning (moving vertical and time axes with drag/drop)
+was not working as expected in all situtations. At least when using
+the current Firefox it did not work.
Module: check_mk
Branch: master
Commit: 54717951f5d82e064ec4cef711056c978799359d
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=54717951f5d82e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jan 2 16:34:10 2017 +0100
5591 Only load graphs that are currently visible
With this change the graphs shown by the GUI are only rendered
when they are (partially) visible to the user. The initial loading
of the graphs out of the viewport is now being delayed until they
become visible to the user.
This is a performance improvement for views showing a lot of graphs.
Change-Id: I087d777ccc99e28f131f4d7c90bd22a690b122c8
---
.werks/5591 | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/.werks/5591 b/.werks/5591
new file mode 100644
index 0000000..640a3e0
--- /dev/null
+++ b/.werks/5591
@@ -0,0 +1,15 @@
+Title: Only load graphs that are currently visible
+Level: 2
+Component: metrics
+Compatible: compat
+Edition: cee
+Version: 1.5.0i3
+Date: 1483371250
+Class: feature
+
+With this change the graphs shown by the GUI are only rendered
+when they are (partially) visible to the user. The initial loading
+of the graphs out of the viewport is now being delayed until they
+become visible to the user.
+
+This is a performance improvement for views showing a lot of graphs.