Module: check_mk
Branch: master
Commit: b3313cc88ec95c5edf6e160b758d0fc0a341ca82
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b3313cc88ec95c…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Apr 21 10:03:37 2017 +0200
4597 FIX Vanilla agents (RPM/DEB) of latest releases did not contain recent changes
The prepacked vanilla agent which is found below ~/share/check_mk/agents as .deb or
.rpm files did only contain the changes shipped with the previous version. The fixes
added to the agents in the meantime between the versions were not included.
The packaging has now been fixed.
Change-Id: Ia3d8a01b1c1853f7788c726d3c3c5f9b6b9082cc
---
.werks/4597 | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/.werks/4597 b/.werks/4597
new file mode 100644
index 0000000..2ae072a
--- /dev/null
+++ b/.werks/4597
@@ -0,0 +1,15 @@
+Title: Vanilla agents (RPM/DEB) of latest releases did not contain recent changes
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i1
+Date: 1492761725
+
+The prepacked vanilla agent which is found below ~/share/check_mk/agents as .deb or
+.rpm files did only contain the changes shipped with the previous version. The fixes
+added to the agents in the meantime between the versions were not included.
+
+The packaging has now been fixed.
Module: check_mk
Branch: master
Commit: ef355aeea55dff6cec0da9432ad8ab00b03bf6ce
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ef355aeea55dff…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Apr 20 16:38:00 2017 +0200
4435 FIX Fixed pending_flex_downtime column in host/service-related tables
In the NEB plugin, the pending_flex_downtime column has always been an
integer, although the column comment claimed it was a boolean. The
Livestatus interface of the Check_MK Micro Core was inconsistent and
returned a boolean. Furthermore, the calculation of the value was not
totally correct.
Now pending_flex_downtime is always returned as an integer, and the column
comment has been fixed to reflect that.
Change-Id: I9ae8a13e651492a3421ad89d814c0d72fb92e690
---
.werks/4435 | 17 +++++++++++++++++
livestatus/src/TableHosts.cc | 2 +-
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/.werks/4435 b/.werks/4435
new file mode 100644
index 0000000..4a389e0
--- /dev/null
+++ b/.werks/4435
@@ -0,0 +1,17 @@
+Title: Fixed pending_flex_downtime column in host/service-related tables
+Level: 1
+Component: livestatus
+Compatible: compat
+Edition: cee
+Version: 1.5.0i1
+Date: 1492698749
+Class: fix
+
+In the NEB plugin, the pending_flex_downtime column has always been an
+integer, although the column comment claimed it was a boolean. The
+Livestatus interface of the Check_MK Micro Core was inconsistent and
+returned a boolean. Furthermore, the calculation of the value was not
+totally correct.
+
+Now pending_flex_downtime is always returned as an integer, and the column
+comment has been fixed to reflect that.
diff --git a/livestatus/src/TableHosts.cc b/livestatus/src/TableHosts.cc
index 2d2c3e4..408f6aa 100644
--- a/livestatus/src/TableHosts.cc
+++ b/livestatus/src/TableHosts.cc
@@ -295,7 +295,7 @@ void TableHosts::addColumns(Table *table, MonitoringCore *mc,
extra_offset, -1));
table->addColumn(make_unique<OffsetIntColumn>(
prefix + "pending_flex_downtime",
- "Whether a flex downtime is pending (0/1)",
+ "Number of pending flexible downtimes",
DANGEROUS_OFFSETOF(host, pending_flex_downtime), indirect_offset,
extra_offset, -1));
table->addColumn(make_unique<OffsetIntColumn>(
Module: check_mk
Branch: master
Commit: b390c0626fc39dff66d2285fbbecf932fc3c1da3
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b390c0626fc39d…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Apr 20 15:25:47 2017 +0200
4434 FIX Fixed group-related 'contains' filters
Using a filter expression with '>=' (i.e. 'contains') on the column 'group'
or 'contact_group' in host/service-related tables could lead to a crash of
the Check_MK Monitoring Core. This has been fixed.
Change-Id: I1a26aff908c6419945390f145d0d0a2f1666b9b7
---
.werks/4434 | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/.werks/4434 b/.werks/4434
new file mode 100644
index 0000000..c15b7be
--- /dev/null
+++ b/.werks/4434
@@ -0,0 +1,12 @@
+Title: Fixed group-related 'contains' filters
+Level: 1
+Component: livestatus
+Compatible: compat
+Edition: cee
+Version: 1.5.0i1
+Date: 1492694507
+Class: fix
+
+Using a filter expression with '>=' (i.e. 'contains') on the column 'group'
+or 'contact_group' in host/service-related tables could lead to a crash of
+the Check_MK Monitoring Core. This has been fixed.
\ No newline at end of file