Module: check_mk
Branch: master
Commit: 00398621dc9f6ae477b45d1f26d4da3a5ff2524d
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=00398621dc9f6a…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Tue Mar 12 08:58:35 2019 +0100
6967 FIX Initialize step value for unknown metrics in rrddata columns
When unknown metrics were queried via rrddata Livestatus columns, the step
value was not initialized, so a more or less random value was returned.
Valgrind was of course unhappy about this, too. This has been fixed, and
the step value is now zero under such circumstances.
Change-Id: I1cd42c806445141ddf8d61d8b9cd653d9dc43c7c
---
.werks/6967 | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/.werks/6967 b/.werks/6967
new file mode 100644
index 0000000..8eeec4e
--- /dev/null
+++ b/.werks/6967
@@ -0,0 +1,13 @@
+Title: Initialize step value for unknown metrics in rrddata columns
+Level: 1
+Component: livestatus
+Compatible: compat
+Edition: cee
+Version: 1.6.0i1
+Date: 1552377187
+Class: fix
+
+When unknown metrics were queried via rrddata Livestatus columns, the step
+value was not initialized, so a more or less random value was returned.
+Valgrind was of course unhappy about this, too. This has been fixed, and
+the step value is now zero under such circumstances.