Module: check_mk
Branch: master
Commit: aea18ed983fa91d6e8ee13cf374f9fb20f5c052f
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=aea18ed983fa91…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Apr 4 13:11:33 2018 +0200
5830 FIX Fixed DST shift correction for downtimes, causing CMC to use 100% CPU
When a downtime was configured to recur every hour and a 1h DST shift
happened, the CMC would go into an infinite loop with 100% CPU load and no
monitoring at all. If the downtime in question was set in an ad hoc fashion
via the GUI (not via rules), the only way to work around this issue was to
remove the state file, losing all downtimes, acknowledgements and comments.
Change-Id: Iebca5c808b39947682da235b08dffb73a883299b
---
.werks/5830 | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/.werks/5830 b/.werks/5830
new file mode 100644
index 0000000..04e9074
--- /dev/null
+++ b/.werks/5830
@@ -0,0 +1,14 @@
+Title: Fixed DST shift correction for downtimes, causing CMC to use 100% CPU
+Level: 2
+Component: core
+Compatible: compat
+Edition: cee
+Version: 1.5.0i4
+Date: 1522839759
+Class: fix
+
+When a downtime was configured to recur every hour and a 1h DST shift
+happened, the CMC would go into an infinite loop with 100% CPU load and no
+monitoring at all. If the downtime in question was set in an ad hoc fashion
+via the GUI (not via rules), the only way to work around this issue was to
+remove the state file, losing all downtimes, acknowledgements and comments.
Module: check_mk
Branch: master
Commit: f286671e0a7d49c5b682fbbacf5244139a32faab
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f286671e0a7d49…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Apr 4 09:55:36 2018 +0200
Fixed broken agent baking with configured manual checks
Change-Id: Iad5dbb1eb26c6653dfa68ad41c7c7558bffa69e8
---
cmk_base/config.py | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/cmk_base/config.py b/cmk_base/config.py
index 85c8d24..96d3767 100644
--- a/cmk_base/config.py
+++ b/cmk_base/config.py
@@ -238,6 +238,15 @@ def _verify_non_duplicate_hosts():
# statically defined in checks.
def add_wato_static_checks_to_checks():
global checks
+
+ # In case the checks are not loaded yet it seems the current mode
+ # is not working with the checks. In this case also don't load the
+ # static checks into the configuration.
+ # TODO: Clean this up. Shouldn't we move the "checks" stuff to the
+ # checks module?
+ if not cmk_base.checks.check_info:
+ return
+
static = []
for entries in static_checks.values():
for entry in entries:
regression in 1.4.0p26)
Message-ID: <5ac469fa.7TSg3sAiyRQVYHho%lm(a)mathias-kettner.de>
User-Agent: Heirloom mailx 12.5 6/20/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Module: check_mk
Branch: master
Commit: 41ecfc8110418ee07b0da1f0ae2b436c90700a8c
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=41ecfc8110418e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Apr 4 07:49:11 2018 +0200
5942 FIX Fixed broken BI availability with limit set to 0 (regression in 1.4.0p26)
In case you are affected, you can set the availability limit to another value than
0 to workaround this issue.
Change-Id: I7bf1ffa76f5b5b5197089cb11057378a9a940b51
---
.werks/5942 | 12 ++++++++++++
web/plugins/views/availability.py | 8 ++++----
2 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/.werks/5942 b/.werks/5942
new file mode 100644
index 0000000..3ea5cac
--- /dev/null
+++ b/.werks/5942
@@ -0,0 +1,12 @@
+Title: Fixed broken BI availability with limit set to 0 (regression in 1.4.0p26)
+Level: 1
+Component: multisite
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i4
+Date: 1522820887
+
+In case you are affected, you can set the availability limit to another value than
+0 to workaround this issue.
diff --git a/web/plugins/views/availability.py b/web/plugins/views/availability.py
index b10e229..adba2fd 100644
--- a/web/plugins/views/availability.py
+++ b/web/plugins/views/availability.py
@@ -542,10 +542,10 @@ def render_bi_availability(title, aggr_rows):
timewarp = None
has_reached_logrow_limit = False
- timeline_containers, fetched_rows = availability.get_timeline_containers(aggr_rows,
- avoptions,
- timewarp,
- livestatus_limit + 1)
+ timeline_containers, fetched_rows = availability.get_timeline_containers(
+ aggr_rows, avoptions, timewarp,
+ livestatus_limit + 1 if livestatus_limit != None else None
+ )
if livestatus_limit and fetched_rows > livestatus_limit:
has_reached_logrow_limit = True
Module: check_mk
Branch: master
Commit: ddd9ecd04a53af61c2d097f5dd432604bf58e173
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ddd9ecd04a53af…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Apr 4 07:32:23 2018 +0200
Added missing change from werk 5941
Change-Id: Iabe5102cc5dfeb04476286ecda68d0619e615546
---
omd/packages/nagios/skel/etc/init.d/nagios | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/omd/packages/nagios/skel/etc/init.d/nagios b/omd/packages/nagios/skel/etc/init.d/nagios
index 16fcf50..758f3ed 100755
--- a/omd/packages/nagios/skel/etc/init.d/nagios
+++ b/omd/packages/nagios/skel/etc/init.d/nagios
@@ -55,7 +55,7 @@ GRP=###SITE###
# in case of start, restart or reload. This is in order to
# avoid duplicate effort when being called by cmk -R or
# cmk -O.
-export CORE_NOVERIFY=yes
+# export CORE_NOVERIFY=yes
# Make sure that check plugins do not run localized.
# check_icmp outputs performance data with german