Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 0fc37a5678ad754ef8b982e9596d57c6a15060f4
https://github.com/tribe29/checkmk/commit/0fc37a5678ad754ef8b982e9596d57c6a…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2021-06-16 (Wed, 16 Jun 2021)
Changed paths:
M cmk/gui/plugins/metrics/artwork.py
Log Message:
-----------
Forecast Graphs: Fix upper bound when trend goes negative
This changes the representation. Now the lower bound does not exist on
the plot, the lower bound is just for the reference. Then the confidence
interval can be a floating stack-area, that means truly an interval.
Original bug, because the curve areas flip the lower,upper edge to keep
drawing order, and the staking arises from the upper bound, when trend
goes negative, then the upper bound stops following the trend and only
raises above the X axis.
Change-Id: Ibcc38c7390a62cfdb7d9d9c73b25f5131c1a1c8a
(cherry picked from commit 81b218f5f04ffcab285fb38821049da85ea6f899)
Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: 56c92718973086a02d45b00d3eec869e6437e97b
https://github.com/tribe29/checkmk/commit/56c92718973086a02d45b00d3eec869e6…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2021-06-16 (Wed, 16 Jun 2021)
Changed paths:
A .werks/12492
Log Message:
-----------
12492 Fix add metric from service view to custom and forecast graphs
Problem arose because the add page popup had not updated its variable
names to match the new Valuespec that controls metric specifications.
Fix is to establish a relation between the used valuespec and the add
popup, so that if ever in the future that changes, the link is
noticeable.
We have abused the inheritance of the autocompleters, their value is a
string. Yet for the metric autocompleters, because we use also the
information of the host and service hints, and even the type of metric.
Value is a tuple. Mypy complains that overriding methods in such way is
wrong(I agree), but until we get a better solution, the value arguments
and method return types remain untyped. Fortunately/disapointingly mypy
is not capable to infer the types in that case and does not complain
about this malpractice.
SUP-6705
Change-Id: Ic397bf0c925df3adc21aa2a675071233839b5437
Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: 81b218f5f04ffcab285fb38821049da85ea6f899
https://github.com/tribe29/checkmk/commit/81b218f5f04ffcab285fb38821049da85…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2021-06-15 (Tue, 15 Jun 2021)
Changed paths:
M cmk/gui/plugins/metrics/artwork.py
Log Message:
-----------
Forecast Graphs: Fix upper bound when trend goes negative
This changes the representation. Now the lower bound does not exist on
the plot, the lower bound is just for the reference. Then the confidence
interval can be a floating stack-area, that means truly an interval.
Original bug, because the curve areas flip the lower,upper edge to keep
drawing order, and the staking arises from the upper bound, when trend
goes negative, then the upper bound stops following the trend and only
raises above the X axis.
Change-Id: Ibcc38c7390a62cfdb7d9d9c73b25f5131c1a1c8a
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: f8f164350c6321833722fea8c12038c60625a869
https://github.com/tribe29/checkmk/commit/f8f164350c6321833722fea8c12038c60…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-06-15 (Tue, 15 Jun 2021)
Changed paths:
M cmk/base/core_config.py
M cmk/core_helpers/paths.py
M tests/unit/cmk/base/test_core_config.py
A tests/unit/cmk/core_helpers/test_config_paths.py
Log Message:
-----------
Pass version to next_helper_config_serial()
This is less magical, clearer, and separates side effects.
Also, improve the test and let it clean up the configuration file.
Change-Id: I77fce38f97cd1228b9260e5cedaec523deea5a3b
Commit: d1eaf23128681f37175ccb8810ce11a981899065
https://github.com/tribe29/checkmk/commit/d1eaf23128681f37175ccb8810ce11a98…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-06-15 (Tue, 15 Jun 2021)
Changed paths:
M cmk/base/core_nagios.py
Log Message:
-----------
Fixup import path to LATEST_SERIAL
Change-Id: Iea1b6d293bcf4263184ea8cdaa5c4dac6e65f14b
Compare: https://github.com/tribe29/checkmk/compare/b477314a7a2f...d1eaf2312868
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: b477314a7a2fbafe1e75d1fa60cf232d8a98f112
https://github.com/tribe29/checkmk/commit/b477314a7a2fbafe1e75d1fa60cf232d8…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-06-15 (Tue, 15 Jun 2021)
Changed paths:
M cmk/core_helpers/agent.py
Log Message:
-----------
Avoid double parsing of the agent message
Also: This fixes a bug where the second parse function was not correct,
due to the missing `{}.setdefault(SectionName, []).extend(...)` that
could result in truncated messages.
Change-Id: Icf21d51d5331b00632c4cf6d4d74727856b79a97
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 860e7834a38ba4a7e4bde13a5435925d39ca567e
https://github.com/tribe29/checkmk/commit/860e7834a38ba4a7e4bde13a5435925d3…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-06-15 (Tue, 15 Jun 2021)
Changed paths:
M cmk/base/config.py
M tests/unit/cmk/base/test_config.py
M tests/unit/cmk/base/test_core_config.py
Log Message:
-----------
Pass path to PackedConfigStore
This makes the signature of the store consistent with other stores and
caches, such that the FileCache or the SectionStore. Indeed, what the
store actually *wants* is a path where to read and write instead of a
serial number that is changed immediately to a path. Moreover, the
serial number is an implementation detail of the path that we should not
be passing around too much.
This patch adds a class method taking the serial in order to only incur
minimal changes to the callers.
Change-Id: Ia50a879b2a66797c8e3c2cc0f894ca4664fada43
Commit: 12c94275e92af4db168734a943cf7c5dad7c1923
https://github.com/tribe29/checkmk/commit/12c94275e92af4db168734a943cf7c5da…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-06-15 (Tue, 15 Jun 2021)
Changed paths:
M cmk/core_helpers/controller.py
M cmk/core_helpers/crash_reporting.py
Log Message:
-----------
Fixup typing of one instance of ConfigSerial
The argument to ConfigSerial() must be number-like: it is the serial.
See Also: current_helper_config_serial(), next_helper_config_serial()
Change-Id: I17fd8c38418d29137783c190b83efff865ec0223
Compare: https://github.com/tribe29/checkmk/compare/791ed5006687...12c94275e92a
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 791ed5006687186645f4d736378b5c9c209db91c
https://github.com/tribe29/checkmk/commit/791ed5006687186645f4d736378b5c9c2…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-06-15 (Tue, 15 Jun 2021)
Changed paths:
M livestatus/src/StringUtils.cc
M livestatus/src/StringUtils.h
M livestatus/src/test/test_StringUtil.cc
Log Message:
-----------
Fix binary output in cmc.log
This confuses the usual piece of tooling such as tail(1) or grep(1)
and is generally not useful. Instead, we now dump the binary content
as hex values.
Change-Id: I39d24d06d3880ac0adbbeb9d56ff93aa7e1c7172
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: c4e78cbc341f72cc3ecf75b66811c3f813e841ac
https://github.com/tribe29/checkmk/commit/c4e78cbc341f72cc3ecf75b66811c3f81…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-06-15 (Tue, 15 Jun 2021)
Changed paths:
M cmk/gui/valuespec.py
M cmk/gui/werks.py
M tests/unit/cmk/gui/test_valuespec.py
Log Message:
-----------
Cleanup Timerange.compute_range
* Make helper function a static method
* Make return type a named tuple
* Add type hints
Change-Id: I5d4b2d331b8390f2ed80a9490cff9b7c6c65d310
Commit: 7703b3c932e0d9f848404dbb5c3c71c5fce2b4ae
https://github.com/tribe29/checkmk/commit/7703b3c932e0d9f848404dbb5c3c71c5f…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-06-15 (Tue, 15 Jun 2021)
Changed paths:
M cmk/gui/valuespec.py
M cmk/gui/werks.py
M tests/unit/cmk/gui/test_valuespec.py
Log Message:
-----------
Consolidate times in ComputedTimerange to int
Most time logic we use works with integers representing the time
stamps and time ranges.
Change-Id: I4c5a78195c7e4eabf8d8a980287d373158956455
Compare: https://github.com/tribe29/checkmk/compare/a47e7f06b491...7703b3c932e0