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
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 08a472bdca6bb6235b78edcc10f4f8e2c20aa68d
https://github.com/tribe29/checkmk/commit/08a472bdca6bb6235b78edcc10f4f8e2c…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-12 (Tue, 12 May 2020)
Changed paths:
M cmk/utils/misc.py
M tests/unit/conftest.py
Log Message:
-----------
Ensure the unit tests always use the same umask
Change-Id: I10a2b8c4ce30110e37c0d08886de299e464be6ab
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 56b4e4db2b1e21680cd357007a91de6578e1a632
https://github.com/tribe29/checkmk/commit/56b4e4db2b1e21680cd357007a91de657…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-12 (Tue, 12 May 2020)
Changed paths:
A tests-py3/unit/cmk/gui/conftest.py
M tests-py3/unit/cmk/notifications/test_mail.py
M tests-py3/unit/conftest.py
M tests/unit/cmk/gui/conftest.py
Log Message:
-----------
PY3: Start enabling cmk.gui unit tests
Change-Id: I4047adfe052dd3b020c8fd7ef9cd4989554763fc
Commit: 21d17597a242872afc4ff234d4e1561e62e6d8c0
https://github.com/tribe29/checkmk/commit/21d17597a242872afc4ff234d4e1561e6…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-12 (Tue, 12 May 2020)
Changed paths:
M cmk/utils/profile.py
Log Message:
-----------
PY3: Start enabling cmk.gui unit tests #2
Change-Id: Ic859edf93d0011a2ad44695b98521c755af18069
Commit: 43ac777df17e6fe1ec1fa2c5aaf6b6c4b965ecc7
https://github.com/tribe29/checkmk/commit/43ac777df17e6fe1ec1fa2c5aaf6b6c4b…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-12 (Tue, 12 May 2020)
Changed paths:
M omd/packages/python3-modules/python3-modules.make
M virtual-envs/3.7/Pipfile
M virtual-envs/3.7/Pipfile.lock
Log Message:
-----------
Add responses to to Python 3 Pipfile
Change-Id: I0a7db3b1c08c399d9ba81eaed60434453851db75
Commit: a6e0e5ba1bcaab177337285c26efff5ef9cba7a3
https://github.com/tribe29/checkmk/commit/a6e0e5ba1bcaab177337285c26efff5ef…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-12 (Tue, 12 May 2020)
Changed paths:
A tests-py3/unit/cmk/gui/utils
A tests-py3/unit/cmk/gui/wato
A tests-py3/unit/cmk/gui/watolib
M tests/unit/cmk/gui/utils/test_html.py
M tests/unit/cmk/gui/utils/test_output_funnel.py
M tests/unit/cmk/gui/utils/test_transaction_manager.py
M tests/unit/cmk/gui/watolib/test_config_sync.py
M tests/unit/cmk/gui/watolib/test_hosts_and_folders.py
M tests/unit/cmk/gui/watolib/test_rulespecs.py
M tests/unit/cmk/gui/watolib/test_tags.py
Log Message:
-----------
PY3: Start enabling cmk.gui unit tests #3
Change-Id: I14ca9ba6b333ba41df47d23c91e5fa5448231382
Compare: https://github.com/tribe29/checkmk/compare/3f5037924c41...a6e0e5ba1bca
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 3f5037924c41760da968bd572d086a5192ea70b4
https://github.com/tribe29/checkmk/commit/3f5037924c41760da968bd572d086a519…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2020-05-12 (Tue, 12 May 2020)
Changed paths:
M cmk/gui/plugins/metrics/translation.py
M cmk/gui/plugins/metrics/utils.py
M tests/unit/cmk/gui/plugins/test_metrics_utils.py
Log Message:
-----------
Dynamic columns painters query already on scaled metrics
- Metric history & Metric forecast painters resolve already scaled
perfdata. In this case CMK can query sites with old metric names & scales
and render them on the same view.
- Reverse translation returns scale.
- Weak test of CMK version for deprecation
CMK-4432
Change-Id: I193667147b6f1dfcb932699c565ac648af7bd0b5
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 65fd5f827a1d8e6e83fe96befcef7bc72c8836ba
https://github.com/tribe29/checkmk/commit/65fd5f827a1d8e6e83fe96befcef7bc72…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2020-05-12 (Tue, 12 May 2020)
Changed paths:
M scripts/run-mypy
M tests-py3/Makefile
Log Message:
-----------
Work around commandline length limits for mypy invocation.
Alas, there seems to be no way to tell mypy to read the files to check from
a file. :-/ As a consequence, we have to revert to an xargs hack, making
sure that we do not overwrite an output log with failures. Downside: We
might not get all errors in a single run.
This is all quite horrible, and in the long run, we should somehow remove
the find-python-files technology, making the checking more modular.
Change-Id: I4a9fb2374b24ea5ced3e3dd191cad3bfac4abed4