Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 0c4594a84f867406f05736fb5bcb47d7087e4a68
https://github.com/tribe29/checkmk/commit/0c4594a84f867406f05736fb5bcb47d70…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
M cmk/utils/password_store.py
Log Message:
-----------
Simplify function aliases
Instead of forwarding everything from one function to another,
we bind the destination to another name. This is simpler and
more efficient in every respect and removes code duplication.
CMK-9563
Change-Id: Iebbe77711c0ff637fe29a3d7cf6660e5e4a6bd81
Commit: 96f3a69c1c81a16616b1c367f385cf71eafb531a
https://github.com/tribe29/checkmk/commit/96f3a69c1c81a16616b1c367f385cf71e…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
M cmk/gui/valuespec.py
M cmk/update_config.py
M cmk/utils/encryption.py
M cmk/utils/password_store.py
M tests/unit/cmk/gui/test_valuespec.py
M tests/unit/cmk/utils/test_encryption.py
M tests/unit/cmk/utils/test_password_store.py
Log Message:
-----------
Encrypter: Move base64 encoding back to ValueSpec
The encoding is only required for the HTML rendering: This is
the responsibility of the ValueSpec as can be seen in
ImageUpload and SSHKeyPair.
This lets us further simplify the Encrypter and
PasswordStoreObfuscater and removes the requirement for the C
plugins to decode the base64 encoding.
The new typing lets us use an actual number for the protocol
version instead of an untyped "int-string". We can also remove
the type checks from the unit tests (we use mypy here) and the
equality checks between encrypted and clear-text: there cannot
be equality anymore because encrypted and clear-text have
different types.
CMK-9563
Change-Id: I3219186ac0f72650e70ac28fe5b6f0524befe280
Commit: f7e1ca6e4ed44eacc06c00809fee12727af4cc90
https://github.com/tribe29/checkmk/commit/f7e1ca6e4ed44eacc06c00809fee12727…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
M cmk/update_config.py
M cmk/utils/password_store.py
M tests/unit/cmk/utils/test_password_store.py
Log Message:
-----------
Fix typo: Obfuscater -> Obfuscator
CMK-9563
Change-Id: I73c0dded7a0d83abefec72f727a41958864becad
Compare: https://github.com/tribe29/checkmk/compare/fb2fb725485f...f7e1ca6e4ed4
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 4e04e4ee7abfbeb0dda570b63634630c47230945
https://github.com/tribe29/checkmk/commit/4e04e4ee7abfbeb0dda570b63634630c4…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
M cmk/base/agent_based/checking/__init__.py
M cmk/base/config.py
Log Message:
-----------
Fix HostKey missmatch
The datasource of a management board now uses
the correct IP address in the host key.
The checking did not known about that.
CMK-9639
Change-Id: I5057497b2f786163dc31b341e993cde0cc46a667
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: de5ac2db164df81cd013f7d5a7e8d1f573352cd6
https://github.com/tribe29/checkmk/commit/de5ac2db164df81cd013f7d5a7e8d1f57…
Author: Timotheus Bachinger <timotheus.bachinger(a)tribe29.com>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
M cmk/fields/__init__.py
M cmk/gui/plugins/openapi/endpoints/bi.py
M cmk/gui/plugins/openapi/endpoints/rule/fields.py
M cmk/gui/plugins/openapi/endpoints/ruleset/fields.py
M cmk/utils/bi/bi_actions.py
M cmk/utils/bi/bi_aggregation.py
M cmk/utils/bi/bi_aggregation_functions.py
M cmk/utils/bi/bi_lib.py
M cmk/utils/bi/bi_node_vis.py
M cmk/utils/bi/bi_packs.py
M cmk/utils/bi/bi_rule.py
M cmk/utils/bi/bi_rule_interface.py
M cmk/utils/bi/bi_search.py
Log Message:
-----------
Revert "Fix all RemovedInMarshmallow4Warning warnings"
This reverts commit 454860a25039514f52171f85daa0787eb960d09d.
Reason for revert: may break the integration tests
Change-Id: I5799da1feba6ddba760a587f4da26ba3cd89b65e
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 4dea5c9051c6959480bfb7eca971850dfbe37728
https://github.com/tribe29/checkmk/commit/4dea5c9051c6959480bfb7eca971850df…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
A agents/cfg_examples/dnsclient.cfg
A agents/cfg_examples/jar_signature.cfg
A agents/cfg_examples/mk_scaleio.cfg
M agents/plugins/dnsclient
M agents/plugins/jar_signature
M agents/plugins/mk_ceph
M agents/plugins/mk_informix
M agents/plugins/mk_scaleio
M agents/plugins/mk_tsm
M agents/z_os/check_mk_agent.wrapper
M buildscripts/scripts/stages.yml
Log Message:
-----------
fix shellcheck 1090
Create some additional config examples.
Point the shellchecker to all config examples,
even if some don't (yet) exist.
This leaves SC1091 to be fixed.
Change-Id: I41d053fbb3bd88dfc7dae55be127d6226978455c
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: a71e8374c3e16549dc2172761ada7670b8352ede
https://github.com/tribe29/checkmk/commit/a71e8374c3e16549dc2172761ada7670b…
Author: Simon Jess <simon.jess(a)tribe29.com>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
M cmk/gui/main_modules.py
M mypy-raw.ini
M scripts/find-python-files
M tests/testlib/pylint_cmk.py
M tests/unit/cmk/gui/test_cron.py
Log Message:
-----------
Revert "Move agent registration to CPE"
This reverts commit 342227468721a11a49021d8ed6160a693cceccb5.
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 036d6abcd70240a4564aab601b99fb46d0379dc1
https://github.com/tribe29/checkmk/commit/036d6abcd70240a4564aab601b99fb46d…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
M agents/check_mk_agent.linux
M agents/check_mk_agent.openwrt
M agents/plugins/mk_saprouter
M tests/Makefile
Log Message:
-----------
fix SC1091: Not following: ../cfg_examples/...
Passing the files with their relative names
allows the source directive to work, such that
the sourced files are considered.
(grep 'shellcheck source' agents/)
Change-Id: Ia093abebe07e1389abd60d4479429128f50da977
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 9811e84441835f3427ddf68ce424e5e6b3926a82
https://github.com/tribe29/checkmk/commit/9811e84441835f3427ddf68ce424e5e6b…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
A checkman/gcp_gcs_network
A checkman/gcp_gcs_objects
A checkman/gcp_gcs_requests
A cmk/base/plugins/agent_based/gcp_gcs.py
A cmk/gui/plugins/wato/check_parameters/gcp_gcs.py
M cmk/utils/man_pages.py
A tests/unit/cmk/base/plugins/agent_based/test_gcp_gcs.py
Log Message:
-----------
Add initial GCS check plugin
Add GCS check plugin. As metrics I use the same once that are displayed
by the default storage dashboard in GCP. Check rules are defined for
every metric.
Change-Id: I9bd564e11f68ebd17fa50a04675ee8d93617dcc1
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 454860a25039514f52171f85daa0787eb960d09d
https://github.com/tribe29/checkmk/commit/454860a25039514f52171f85daa0787eb…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
M cmk/fields/__init__.py
M cmk/gui/plugins/openapi/endpoints/bi.py
M cmk/gui/plugins/openapi/endpoints/rule/fields.py
M cmk/gui/plugins/openapi/endpoints/ruleset/fields.py
M cmk/utils/bi/bi_actions.py
M cmk/utils/bi/bi_aggregation.py
M cmk/utils/bi/bi_aggregation_functions.py
M cmk/utils/bi/bi_lib.py
M cmk/utils/bi/bi_node_vis.py
M cmk/utils/bi/bi_packs.py
M cmk/utils/bi/bi_rule.py
M cmk/utils/bi/bi_rule_interface.py
M cmk/utils/bi/bi_search.py
Log Message:
-----------
Fix all RemovedInMarshmallow4Warning warnings
- replace marshmallow.fields with cmk.utils.fields when metadata
warnings is thrown
- update explicit args to new keywords
Check that all warnings are removed by adding the pytest flag
`-W error::DeprecationWarning:marshmallow.fields`.
Unfortunately we cannot configure filterwarnings with the same
effect in the pytest config, see [1] for some hints why this
might be. My assumption is that the -W flag is passed directly
to the python interpreter before pytest does it's own warning setup.
[1] https://nedbatchelder.com/blog/201810/why_warnings_is_mysterious.html
Change-Id: Ib66d091e738ff3ee8a938ee72aea0073df62c1e1