Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: 803d8b8d2360be538f7d2943f22b84ea7a6f9522
https://github.com/tribe29/checkmk/commit/803d8b8d2360be538f7d2943f22b84ea7…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/unit/cmk/base/test_diagnostics.py
M tests/unit/conftest.py
M tests/unit/livestatus/test_livestatus_unit.py
Log Message:
-----------
Set OMD_ROOT during unit tests
Change-Id: Iae569b9412ade7f38a506e6b0a8015dcbbccb79c
Commit: b3d77312d1f38d336bf21472457fd16c9b704ecd
https://github.com/tribe29/checkmk/commit/b3d77312d1f38d336bf21472457fd16c9…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
A agent-receiver/agent_receiver/apps.py
A agent-receiver/agent_receiver/endpoints.py
R agent-receiver/agent_receiver/server.py
M omd/packages/check_mk/skel/etc/init.d/agent-receiver
M tests/unit/agent_receiver/conftest.py
A tests/unit/agent_receiver/test_apps.py
A tests/unit/agent_receiver/test_endpoints.py
R tests/unit/agent_receiver/test_server.py
Log Message:
-----------
agent receiver: internal restructuring
The main application used by gunicorn is now created in a separate
module by a dedicated function. This makes testing easier (since we need
the environment variable OMD_ROOT to create the app, which is not yet
available at import time).
Change-Id: I92a519617399d5cdbf7976085af7be7b48639add
Commit: b5f132960a70993ab7f9e71c1f0cdd88d44f4152
https://github.com/tribe29/checkmk/commit/b5f132960a70993ab7f9e71c1f0cdd88d…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M agent-receiver/agent_receiver/apps.py
M agent-receiver/agent_receiver/certificates.py
M agent-receiver/agent_receiver/checkmk_rest_api.py
R agent-receiver/agent_receiver/constants.py
M agent-receiver/agent_receiver/endpoints.py
M agent-receiver/agent_receiver/log.py
A agent-receiver/agent_receiver/site_context.py
M agent-receiver/agent_receiver/utils.py
M tests/testlib/__init__.py
M tests/unit/agent_receiver/conftest.py
M tests/unit/agent_receiver/test_apps.py
M tests/unit/agent_receiver/test_endpoints.py
M tests/unit/agent_receiver/test_receiver_utils.py
Log Message:
-----------
agent receiver: collect all site-dependent things into a module
We use cached functions to access variables such as OMD_ROOT. Using
plain variables does not work, since the site context is not available
at import time during unit tests (only at runtime).
Change-Id: I784191371adb089cf3fe031dbc681f29af7a961c
Commit: 900a73083993e4a70edc64a0df6d854ba5c3d4bd
https://github.com/tribe29/checkmk/commit/900a73083993e4a70edc64a0df6d854ba…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
A .werks/13864
M agent-receiver/agent_receiver/checkmk_rest_api.py
M agent-receiver/agent_receiver/endpoints.py
M tests/unit/agent_receiver/test_endpoints.py
Log Message:
-----------
13864 FIX Host registration: Enable on sites with disabled Setup & check site name
The host registration via the <tt>cmk-agent-ctl</tt> command failed for
sites with disabled Setup.
Furthermore, upon registration, we now check if the site where the host is
registering is also the site on which it is monitored (only relevant in
distributed setups). If not, the registration fails.
Finally, upon registration we also ensure that the host is not a cluster
host, since cluster hosts have no direct physical or virtual counterpart
which needs to be registered.
CMK-10258
Change-Id: I4ec9105ffa70badd17353cd1fe22b1dddaaef8dd
Commit: 674069ca95090ce9fd696038e61a71011cc6a6ed
https://github.com/tribe29/checkmk/commit/674069ca95090ce9fd696038e61a71011…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M agents/cmk-agent-ctl/src/config.rs
M agents/cmk-agent-ctl/src/lib.rs
M agents/cmk-agent-ctl/src/modes/status.rs
Log Message:
-----------
agent controller: Rename struct ConfigFromDisk to RuntimeConfig
Change-Id: I4af4825bbcbc31334c34b526f370884f1c443181
Commit: a4fed94b643f99b4c4b3853373c8acaa14552847
https://github.com/tribe29/checkmk/commit/a4fed94b643f99b4c4b3853373c8acaa1…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M agents/cmk-agent-ctl/src/constants.rs
M agents/cmk-agent-ctl/src/setup.rs
Log Message:
-----------
agent controller: Rename file for storing registration settings
Change-Id: Ibcee8dcb58368b619fb841524327c0d597f518b2
Commit: 43ac32d2a6c4ce136bc0dd4a301ac4a0531aecf7
https://github.com/tribe29/checkmk/commit/43ac32d2a6c4ce136bc0dd4a301ac4a05…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M agents/cmk-agent-ctl/src/config.rs
Log Message:
-----------
agent controller: set connection registry permissions to 640 on save
This avoids world-readable private keys.
CMK-10321
Change-Id: I7571c3ce587a8a363ef85d78f61fd097bc0e1d52
Compare:
https://github.com/tribe29/checkmk/compare/3720cbe34677...43ac32d2a6c4