Branch: refs/heads/2.2.0
Home:
https://github.com/Checkmk/checkmk
Commit: bf791fa5c1602c9331573f87b2ae2fd5e8dbca76
https://github.com/Checkmk/checkmk/commit/bf791fa5c1602c9331573f87b2ae2fd5e…
Author: Joerg Herbel <joerg.herbel(a)checkmk.com>
Date: 2023-09-05 (Tue, 05 Sep 2023)
Changed paths:
M agents/check_mk_agent.linux
M agents/check_mk_agent.openwrt
M agents/plugins/mk_site_object_counts
Log Message:
-----------
Fix `unixcat` execution in Linux agent
In `section_omd_core` in the Linux agent, we call
/omd/version/.../bin/unixcat
This command can fail if we are not in the site context:
/omd/versions/2023.08.29.cee/bin/unixcat:
/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.31' not found
(required by /omd/versions/2023.08.29.cee/bin/unixcat)
Luckily, this only happens in the master branch.
Change-Id: I3540b5c28da7fb5de66a56b48e3c6f376582a118
(cherry picked from commit 744166494c21f53edb3a13d6071ec901f1424766)
Commit: ba656c29ebf29ec9105f3441ccf8627a344ccbb7
https://github.com/Checkmk/checkmk/commit/ba656c29ebf29ec9105f3441ccf8627a3…
Author: Gav <gavin.mcguigan(a)checkmk.com>
Date: 2023-09-05 (Tue, 05 Sep 2023)
Changed paths:
A .werks/16096
M cmk/gui/auth.py
Log Message:
-----------
16096 FIX authentication: allow rest-api access when gui access is restricted
This werk addresses an issue with regards to rest-api access. When the
distributed monitoring config option
"Users are allowed to directly login into the Web GUI"
was disabled, we inadvertently blocked access to the rest-api as well.
We now allow rest-api access while still blocking access to the Web
GUI in this scenario.
Not pretty but works. check_auth() is called before we do any url matching,
hence we don't know at this point if the request is destined for the
rest-api or not.
SUP-15133
Change-Id: I7ca0640131908f2962a0e2802d1b9c3b60e1310e
Compare:
https://github.com/Checkmk/checkmk/compare/90f4334f2a18...ba656c29ebf2