Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 2ae5de165bcb51feac5c87a23734c878336519c4
https://github.com/tribe29/checkmk/commit/2ae5de165bcb51feac5c87a23734c8783…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-05-13 (Wed, 13 May 2020)
Changed paths:
M cmk/base/api/agent_based/register/check_plugins_legacy.py
Log Message:
-----------
CheckAPI: fix: consider None in auto-migration
Change-Id: I6ca7fd91c8fc92e2c68b3ab0ba4548b5d171b7ed
Commit: 9e35c95a4746e6f8951e9b1ba15c409a49fd0164
https://github.com/tribe29/checkmk/commit/9e35c95a4746e6f8951e9b1ba15c409a4…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-05-13 (Wed, 13 May 2020)
Changed paths:
M cmk/base/api/agent_based/register/check_plugins_legacy.py
Log Message:
-----------
CheckAPI: deal with passed Parameters type
In the new API check_functions will be passed an immutable mapping
instead of a dict. However, we have way too many 'if isinsance(params, dict)'
call sites to introduce this into legacy code, so use the plain dict.
Change-Id: If14f727c0c1d58479f8208dfad419fdc80a5cbeb
Commit: 74e10796c1e850a29a3ff082f89e8c6415f70287
https://github.com/tribe29/checkmk/commit/74e10796c1e850a29a3ff082f89e8c641…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-05-13 (Wed, 13 May 2020)
Changed paths:
M cmk/base/checking.py
Log Message:
-----------
CheckAPI: prepare for new-style checking
* Move legacy part of checking into a dedicated function.
* pass host config to execute_check (we will need to be
able to decide whether we're dealing with a cluster)
At this point, this commit is a No-Op.
Change-Id: I4b8376da710a9884e2d00c751a44660066743709
Commit: fefbc91bfced119f357030149bf96e9d099f0507
https://github.com/tribe29/checkmk/commit/fefbc91bfced119f357030149bf96e9d0…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-05-13 (Wed, 13 May 2020)
Changed paths:
M checks/fileinfo
M cmk/base/automations/check_mk.py
M cmk/base/check_table.py
M cmk/base/checking.py
M cmk/base/discovery.py
M cmk/base/dump_host.py
M tests-py3/unit/cmk/base/test_checking.py
Log Message:
-----------
CheckAPI: rename legacy function
Change-Id: I17132dbc051b13aa3cc736f2d020f96f778cebd0
Commit: dcebb5b2a584cc6fe4e052cb0901e7d332afed2d
https://github.com/tribe29/checkmk/commit/dcebb5b2a584cc6fe4e052cb0901e7d33…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-05-13 (Wed, 13 May 2020)
Changed paths:
M cmk/base/checking.py
M tests-py3/unit/cmk/base/test_checking.py
Log Message:
-----------
CheckAPI: Use check functions from 1.7-style check plugins
We use the new style check function and argments, unless we
are in the cluster case, and are dealing with an aout-migrated
plugin, in which case we use the legacy method.
This case prevents us from removing a substential amount of code.
Change-Id: I2883bcf6a9d919ca7d98f66a0fed80636a6e1c96
Commit: e6d512c8aa1236949a7a377f8e296dd062cdb419
https://github.com/tribe29/checkmk/commit/e6d512c8aa1236949a7a377f8e296dd06…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-05-13 (Wed, 13 May 2020)
Changed paths:
M cmk/base/api/agent_based/checking_types.py
M tests-py3/unit/cmk/base/api/agent_based/test_checking_types.py
Log Message:
-----------
CheckAPI: allow to pass None to Metric levels and boundaries
Change-Id: Ia9287b66d17cf2b89d3f6ac94bc0a74f6e01dfae
Commit: 5316a62b0ed99ccfe7ab759e4c76bc9b9578c6f4
https://github.com/tribe29/checkmk/commit/5316a62b0ed99ccfe7ab759e4c76bc9b9…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-05-13 (Wed, 13 May 2020)
Changed paths:
A cmk/base/plugins/agent_based/agent_based_api/__init__.py
A cmk/base/plugins/agent_based/agent_based_api/v0/__init__.py
A cmk/base/plugins/agent_based/agent_based_api/v0/register.py
A cmk/base/plugins/agent_based/agent_based_api/v0/render.py
A cmk/base/plugins/agent_based/agent_based_api/v0/state.py
M cmk/base/plugins/agent_based/checkpoint_connections.py
M cmk/base/plugins/agent_based/esx_vsphere_systeminfo.py
M cmk/base/plugins/agent_based/hr_mem.py
M cmk/base/plugins/agent_based/labels.py
M cmk/base/plugins/agent_based/omd_apache.py
M cmk/base/plugins/agent_based/ucd_mem.py
M cmk/base/plugins/agent_based/utils/checkpoint.py
M cmk/base/plugins/agent_based/utils/printer.py
M cmk/base/plugins/agent_based/utils/ucd_hr_detection.py
R cmk/base/plugins/agent_based/v0/__init__.py
R cmk/base/plugins/agent_based/v0/register.py
R cmk/base/plugins/agent_based/v0/render.py
R cmk/base/plugins/agent_based/v0/state.py
M tests-py3/unit/cmk/base/api/agent_based/test_checking_types.py
Log Message:
-----------
CheckAPI: introduce extra package layer
Change-Id: I40eb6614417d6f825bc8498930c8dda556d8c88a
Compare:
https://github.com/tribe29/checkmk/compare/351f4190692d...5316a62b0ed9