Branch: refs/heads/1.5.0
Home: https://github.com/tribe29/checkmk
Commit: 258bf9ed4daf8705d1662a3325b854d8c4cc55c4
https://github.com/tribe29/checkmk/commit/258bf9ed4daf8705d1662a3325b854d8c…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2019-09-17 (Tue, 17 Sep 2019)
Changed paths:
A .werks/8914
M checks/netapp_api_vs_traffic
Log Message:
-----------
8914 FIX Fix calculation of latency for netapp_api_vs_traffic 2
read_ops and write_ops do not necessarily exist to use as
reference for the avg_read_latency and avg_write_latency.
The check now crashes when they are not available.
This fix uses the latency and ops values in the isci and fcp
namespaces and handles missing references. When the ref
is missing, the time is taken as reference.
This is the second try at FEED-3874 (api_vs_traffic).
Change-Id: I0084d74dd613ec68e33c34e8ef28f78a2baef637
Branch: refs/heads/1.6.0
Home: https://github.com/tribe29/checkmk
Commit: d997f88e272625e0b8d7e6b289e40ea833ff4638
https://github.com/tribe29/checkmk/commit/d997f88e272625e0b8d7e6b289e40ea83…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2019-09-17 (Tue, 17 Sep 2019)
Changed paths:
A .werks/8914
M checks/netapp_api_vs_traffic
M tests/unit/checks/generictests/datasets/netapp_api_vs_traffic.py
Log Message:
-----------
8914 FIX Fix calculation of latency for netapp_api_vs_traffic 2
read_ops and write_ops do not necessarily exist to use as
reference for the avg_read_latency and avg_write_latency.
The check now crashes when they are not available.
This fix uses the latency and ops values in the isci and fcp
namespaces and handles missing references. When the ref
is missing, the time is taken as reference.
This is the second try at FEED-3874 (api_vs_traffic).
Change-Id: Icb62c005b9a30fe9006fbfeddb800ca0838b8c0d
Branch: refs/heads/1.6.0
Home: https://github.com/tribe29/checkmk
Commit: 1b0a5e1413c13f9c3e6699dcbd2d4f34fec96fda
https://github.com/tribe29/checkmk/commit/1b0a5e1413c13f9c3e6699dcbd2d4f34f…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-09-17 (Tue, 17 Sep 2019)
Changed paths:
A .werks/10045
M cmk_base/discovery.py
Log Message:
-----------
10045 FIX Fix possible "variable referenced before assignment" during bulk discovery
When an error occurs while communicating with a monitored system, the bulk discovery
could fail with an error like "variable referenced before assignment" while handling
the error situation.
CMK-2722
Change-Id: Ic46c9e296f57db3b9fa7879301ef944fd67fe26d
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 85c53f6c1a0d3c480cb4c74de556b9632392d9cb
https://github.com/tribe29/checkmk/commit/85c53f6c1a0d3c480cb4c74de556b9632…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-09-17 (Tue, 17 Sep 2019)
Changed paths:
A .werks/10045
M cmk_base/discovery.py
Log Message:
-----------
10045 FIX Fix possible "variable referenced before assignment" during bulk discovery
When an error occurs while communicating with a monitored system, the bulk discovery
could fail with an error like "variable referenced before assignment" while handling
the error situation.
CMK-2722
Change-Id: Ic46c9e296f57db3b9fa7879301ef944fd67fe26d
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 0eda9ab90200224712839399e974213980d92c93
https://github.com/tribe29/checkmk/commit/0eda9ab90200224712839399e97421398…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-09-17 (Tue, 17 Sep 2019)
Changed paths:
M cmk/gui/plugins/wato/omd_configuration.py
M cmk/gui/watolib/simple_config_file.py
M cmk/update_config.py
M cmk/utils/daemon.py
M cmk/utils/labels.py
M cmk/utils/man_pages.py
M cmk/utils/paths.py
M cmk/utils/store.py
M cmk/utils/werks.py
M omd/packages/omd/omdlib/certs.py
M tests-py3/conftest.py
M tests/conftest.py
M tests/unit/livestatus/test_livestatus_unit.py
M tests/unit/omdlib/test_certs.py
Log Message:
-----------
Improve Python 2/3 compatible Path import
The previous import based on try/expect did not work as intended,
because mypy did not understood that pathlib is only available with
Python 3. To suppress the import issues we added "# type: ignore" to
that line, which implicitly marked Path with the "Any" type. This way
it was not possible for mypy to detect issues with Path.
This new approach uses the recommended way of python version checks (see
https://github.com/python/mypy/blob/master/docs/source/common_issues.rst#py…).
With this variant it is now possible to detect wrong operations on
the Path object in our code which is meant to be portable during
the 2/3 transition (cmk.utils).
Change-Id: Ie37da4102c39e605cd0bfc5a48a2fc70f443109a