Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 8d4e2dcfc279a90b03ce942efb4f0d5389010380
https://github.com/Checkmk/checkmk/commit/8d4e2dcfc279a90b03ce942efb4f0d538…
Author: Sven Panne <sven.panne(a)checkmk.com>
Date: 2023-11-21 (Tue, 21 Nov 2023)
Changed paths:
M packages/livestatus/include/livestatus/Column.h
M packages/neb/include/neb/NebContactGroup.h
M packages/neb/include/neb/NebHost.h
M packages/neb/include/neb/NebService.h
M packages/neb/include/neb/nagios.h
Log Message:
-----------
Added a few casting suppressions.
Those casts are really needed, most of them due to a broken Nagios API.
clang-tidy doesn't complain about those casts, but clangd does, so let's
suppress them.
Change-Id: I1528d9c0871a2105a425d3cbd8ee0108ff34e816
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 7232d97f2866aea8c2ca5382524409d744bffabf
https://github.com/Checkmk/checkmk/commit/7232d97f2866aea8c2ca5382524409d74…
Author: Leonardo Petrora <leonardo.petrora(a)checkmk.com>
Date: 2023-11-21 (Tue, 21 Nov 2023)
Changed paths:
A .werks/16204
M cmk/gui/graphing/_graph_images.py
M cmk/gui/openapi/endpoints/metric/__init__.py
Log Message:
-----------
16204 FIX metrics: Fix Internal Server Error when decimal timestamps are provided
Prior to this werk, when a timestamp contained decimal values the endpoint would return status 500 (Internal server error). This change fixes that and now it returns 400 (Bad Request) and a brief explanation of the error.
CMK-15113
Change-Id: I661e514b45d82e1ccf6e77d7c7ce437c9c0a785d
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: f5f59d3377f6dfc3bf47e20001971989447deead
https://github.com/Checkmk/checkmk/commit/f5f59d3377f6dfc3bf47e200019719894…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-11-21 (Tue, 21 Nov 2023)
Changed paths:
A .werks/15311
M agents/check_mk_agent.aix
M agents/check_mk_agent.freebsd
M agents/check_mk_agent.linux
M agents/check_mk_agent.openwrt
M agents/check_mk_agent.solaris
Log Message:
-----------
15311 FIX align quoting of synchronous and asynchronous MRPE
You are affected by this change if you use asynchronous MRPE and used
double quotes (<tt>"</tt>) in the MRPE command.
Quoting of mrpe commands differed between cached and non cached mrpe
checks.
With this Werk the quoting rules for the normal/synchronous execution of
MRPE are applied to asynchronous MRPE commands.
The following can now be applied to both asynchronous and
normal/synchronous execution of MRPE commands: Use single quotes on the
first level of quoting.
This command will correctly show <tt>output with spaces</tt> in the
Service output:
<tt>bash -c 'echo "output with spaces"'</tt>
If you execute asynchronous MRPE and the command uses double quotes on
the first level of quoting, adapt it accordingly.
--------------------------------------------------------------------------------
The new behaviour will show "output sync" and "output async" for the
quoting used in the script. Before this change, single and double quotes
would have to be exchanged for the async command.
-------------------------------------- 8< --------------------------------------
export MK_VARDIR=/tmp/
export MK_CONFDIR="."
rm -r /tmp/cache
cat >./mrpe_sync.cfg <<EOF
some_ident (appendage=1) bash -c 'echo "output sync"'
EOF
cat >./mrpe_async.cfg <<EOF
some_ident (interval=666:appendage=1) bash -c 'echo "output async"'
EOF
MK_SOURCE_AGENT=1
. agents/check_mk_agent.linux
main_setup
echo "# execute sync"
run_remote_plugins "./mrpe_sync.cfg" ""
echo "# prepare async"
run_remote_plugins "./mrpe_async.cfg" ""
sleep 1
echo "# async output"
run_remote_plugins "./mrpe_async.cfg" ""
echo "# done"
-------------------------------------- >8 --------------------------------------
SUP-15046
Change-Id: Ie511148897ca198c3b13d173db10e230054b2323
Branch: refs/heads/2.2.0
Home: https://github.com/Checkmk/checkmk
Commit: 53d1e7024a88ee04926435950bebed3003a901a1
https://github.com/Checkmk/checkmk/commit/53d1e7024a88ee04926435950bebed300…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-11-21 (Tue, 21 Nov 2023)
Changed paths:
A .werks/15311
M agents/check_mk_agent.aix
M agents/check_mk_agent.freebsd
M agents/check_mk_agent.linux
M agents/check_mk_agent.openwrt
M agents/check_mk_agent.solaris
Log Message:
-----------
15311 FIX align quoting of synchronous and asynchronous MRPE
You are affected by this change if you use asynchronous MRPE and used
double quotes (<tt>"</tt>) in the MRPE command.
Quoting of mrpe commands differed between cached and non cached mrpe
checks.
With this Werk the quoting rules for the normal/synchronous execution of
MRPE are applied to asynchronous MRPE commands.
The following can now be applied to both asynchronous and
normal/synchronous execution of MRPE commands: Use single quotes on the
first level of quoting.
This command will correctly show <tt>output with spaces</tt> in the
Service output:
<tt>bash -c 'echo "output with spaces"'</tt>
If you execute asynchronous MRPE and the command uses double quotes on
the first level of quoting, adapt it accordingly.
--------------------------------------------------------------------------------
The new behaviour will show "output sync" and "output async" for the
quoting used in the script. Before this change, single and double quotes
would have to be exchanged for the async command.
-------------------------------------- 8< --------------------------------------
export MK_VARDIR=/tmp/
export MK_CONFDIR="."
rm -r /tmp/cache
cat >./mrpe_sync.cfg <<EOF
some_ident (appendage=1) bash -c 'echo "output sync"'
EOF
cat >./mrpe_async.cfg <<EOF
some_ident (interval=666:appendage=1) bash -c 'echo "output async"'
EOF
MK_SOURCE_AGENT=1
. agents/check_mk_agent.linux
main_setup
echo "# execute sync"
run_remote_plugins "./mrpe_sync.cfg" ""
echo "# prepare async"
run_remote_plugins "./mrpe_async.cfg" ""
sleep 1
echo "# async output"
run_remote_plugins "./mrpe_async.cfg" ""
echo "# done"
-------------------------------------- >8 --------------------------------------
SUP-15046
Change-Id: Ie511148897ca198c3b13d173db10e230054b2323
Branch: refs/heads/2.1.0
Home: https://github.com/Checkmk/checkmk
Commit: 3331d037f460077112e471288525056261c6e87b
https://github.com/Checkmk/checkmk/commit/3331d037f460077112e47128852505626…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-11-21 (Tue, 21 Nov 2023)
Changed paths:
A .werks/15311
M agents/check_mk_agent.linux
Log Message:
-----------
15311 FIX align quoting of synchronous and asynchronous MRPE
You are affected by this change if you use asynchronous MRPE and used
double quotes (<tt>"</tt>) in the MRPE command.
Quoting of mrpe commands differed between cached and non cached mrpe
checks.
With this Werk the quoting rules for the normal/synchronous execution of
MRPE are applied to asynchronous MRPE commands.
The following can now be applied to both asynchronous and
normal/synchronous execution of MRPE commands: Use single quotes on the
first level of quoting.
This command will correctly show <tt>output with spaces</tt> in the
Service output:
<tt>bash -c 'echo "output with spaces"'</tt>
If you execute asynchronous MRPE and the command uses double quotes on
the first level of quoting, adapt it accordingly.
--------------------------------------------------------------------------------
The new behaviour will show "output sync" and "output async" for the
quoting used in the script. Before this change, single and double quotes
would have to be exchanged for the async command.
-------------------------------------- 8< --------------------------------------
export MK_VARDIR=/tmp/
export MK_CONFDIR="."
rm -r /tmp/cache
cat >./mrpe_sync.cfg <<EOF
some_ident (appendage=1) bash -c 'echo "output sync"'
EOF
cat >./mrpe_async.cfg <<EOF
some_ident (interval=666:appendage=1) bash -c 'echo "output async"'
EOF
MK_SOURCE_AGENT=1
. agents/check_mk_agent.linux
main_setup
echo "# execute sync"
run_remote_plugins "./mrpe_sync.cfg" ""
echo "# prepare async"
run_remote_plugins "./mrpe_async.cfg" ""
sleep 1
echo "# async output"
run_remote_plugins "./mrpe_async.cfg" ""
echo "# done"
-------------------------------------- >8 --------------------------------------
SUP-15046
Change-Id: Ie511148897ca198c3b13d173db10e230054b2323
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 0efef8fdab46062fd3a2acee8c047d929bcb7b92
https://github.com/Checkmk/checkmk/commit/0efef8fdab46062fd3a2acee8c047d929…
Author: Frans Fürst <frans.fuerst(a)checkmk.com>
Date: 2023-11-21 (Tue, 21 Nov 2023)
Changed paths:
M buildscripts/scripts/build-announcement.groovy
M buildscripts/scripts/build-cmk-distro-package.groovy
M buildscripts/scripts/build-linux-agent-updater.groovy
M buildscripts/scripts/compile-all-werks.groovy
M buildscripts/scripts/test-gerrit.groovy
M buildscripts/scripts/test-integration-single-f12less.groovy
M buildscripts/scripts/test-python3-bandit.groovy
M buildscripts/scripts/test-python3-typing.groovy
M buildscripts/scripts/utils/integration.groovy
M buildscripts/scripts/utils/windows.groovy
Log Message:
-----------
Adds information about timing (and implicitly also memory usage) next to every archiveArtifacts call
Change-Id: I9e4c73a5a6d37627718cd021dfc22ef581340c59
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 9c435ed8c74912c2a3edd491c568ac9214865ecb
https://github.com/Checkmk/checkmk/commit/9c435ed8c74912c2a3edd491c568ac921…
Author: Christoph Rauch <christoph.rauch(a)checkmk.com>
Date: 2023-11-21 (Tue, 21 Nov 2023)
Changed paths:
M Pipfile
M Pipfile.lock
M cmk/gui/wsgi/app.py
M cmk/gui/wsgi/dev_server.py
R cmk/gui/wsgi/profiling.py
A cmk/utils/profile_switcher.py
M tests/code_quality/test_pipfile.py
M tests/unit/cmk/gui/wsgi/test_profile_switcher.py
M web/app/index.wsgi
Log Message:
-----------
Profiling middleware: allow for profiling the application startup phase
* Introduce ProfileSwitcher middleware
* Adapt profiling tests to reflect new calling convention
* Adapt index.wsgi to use the new structure
* Remove old middleware from Flask app
* Update Pipfile: remove no longer necessary repoze.profile
middleware, make pyprof2calltree am explicit dependency.
The ProfileSwitcher middleware can now import the wrapped app
at runtime, so that importing and initialization can be profiled
as well. To achieve this, a default "config" is used for the
very first request, when no config could have been loaded yet.
For the first request, it is intentional that triggering the
profiling middleware via a "_profile" GET query-string parameter
is possible.
The subsequent requests will honor the configured profiling behavior.
CMK-14511
Change-Id: I33514e6395bcfb4849c421daa9647c944fffe319