Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 34b7991f9e1b336c155240b245c8b5f34aafb3f2
https://github.com/Checkmk/checkmk/commit/34b7991f9e1b336c155240b245c8b5f34…
Author: Joerg Herbel <joerg.herbel(a)checkmk.com>
Date: 2023-11-20 (Mon, 20 Nov 2023)
Changed paths:
M cmk/gui/dashboard/dashlet/dashlets/graph.py
M cmk/gui/graphing/_html_render.py
M cmk/gui/metrics.py
Log Message:
-----------
Graph dashlets: Create graph render config before ajax call
This prepares changes in `GraphRenderOptions`.
CMK-15028
Change-Id: Ia1beba0590423da6f09da20ab53cba76c41260de
Commit: d023378d690af9ff03e51b7059bf2b17bb8244b3
https://github.com/Checkmk/checkmk/commit/d023378d690af9ff03e51b7059bf2b17b…
Author: Joerg Herbel <joerg.herbel(a)checkmk.com>
Date: 2023-11-20 (Mon, 20 Nov 2023)
Changed paths:
M cmk/gui/dashboard/dashlet/dashlets/graph.py
M cmk/gui/dashboard/type_defs.py
M cmk/gui/graphing/_graph_images.py
M cmk/gui/graphing/_graph_render_config.py
M cmk/gui/graphing/_graph_specification.py
M cmk/gui/graphing/_html_render.py
M cmk/gui/graphing/_valuespecs.py
M cmk/gui/type_defs.py
M cmk/gui/views/graph.py
M web/htdocs/js/modules/graphs.ts
Log Message:
-----------
Rework `GraphTitleFormat`
Use a more suitable format internally instead of the raw value provided
by the valuespec. As a consequence, we have to separate
`GraphRenderOptions` into `GraphRenderOptionsVS` (from valuespec) and
`GraphRenderOptions` (better format for internal use).
This also avoids entries such as the following in
var/log/apache/error_log:
Expected `list[literal['plain','add_host_name','add_host_alias',
'add_service_description']]` but got `tuple` - serialized value may not
be as expected
CMK-15028
Change-Id: Id83e1abb55c5b08296813de42d9c5d8637b371b3
Commit: 3803ef218f49e89d268bc9073bc068d1d435bd34
https://github.com/Checkmk/checkmk/commit/3803ef218f49e89d268bc9073bc068d1d…
Author: Joerg Herbel <joerg.herbel(a)checkmk.com>
Date: 2023-11-20 (Mon, 20 Nov 2023)
Changed paths:
M cmk/gui/dashboard/dashlet/dashlets/graph.py
M cmk/gui/graphing/_graph_images.py
M cmk/gui/graphing/_graph_render_config.py
M cmk/gui/graphing/_html_render.py
M cmk/gui/views/graph.py
Log Message:
-----------
`GraphRenderConfig{Image}`: Improve signature of factory method
Change-Id: I500eda58134ddc4df290805d4b39a1244af8ea9e
Compare: https://github.com/Checkmk/checkmk/compare/7717f35aa7c9...3803ef218f49
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 7784a2e15fd61178e36c9f3ead0b869802778149
https://github.com/Checkmk/checkmk/commit/7784a2e15fd61178e36c9f3ead0b86980…
Author: Matteo Stifano <matteo.stifano(a)checkmk.com>
Date: 2023-11-20 (Mon, 20 Nov 2023)
Changed paths:
M tests/update/conftest.py
Log Message:
-----------
test_update: Adapt the minimum base-version for update process
The minimum base-version to be used to update to 2.3.0-daily-build is
2.2.0p8. Here we adapt the test to consider this.
Change-Id: I805c696b38a6f9ea166810002adbb74b6d5b7b8b
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: bb8b21e5ada93ccab043801c3d940bf38654f34b
https://github.com/Checkmk/checkmk/commit/bb8b21e5ada93ccab043801c3d940bf38…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2023-11-20 (Mon, 20 Nov 2023)
Changed paths:
M cmk/gui/main_modules.py
Log Message:
-----------
Cleanup cmk.gui.cee.main_modules
These modules are now imported through the registration modules.
Change-Id: I4d7326f29ad9ddfd9f8de9392f6967b3d7a3df1a
Commit: da65d0337f7c5c3f5a870bb1b7bf603303b17973
https://github.com/Checkmk/checkmk/commit/da65d0337f7c5c3f5a870bb1b7bf60330…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2023-11-20 (Mon, 20 Nov 2023)
Changed paths:
M cmk/gui/main_modules.py
M cmk/gui/openapi/endpoints/metric/__init__.py
R cmk/gui/raw/plugins/__init__.py
R cmk/gui/raw/plugins/main_modules/__init__.py
R cmk/gui/raw/plugins/main_modules/registration.py
A cmk/gui/raw/registration.py
Log Message:
-----------
Simplify raw exclusive registration
Change-Id: Ic177b61334bbd779590a35acdc3c606a384bdaaf
Compare: https://github.com/Checkmk/checkmk/compare/80f25570b9c0...da65d0337f7c
Branch: refs/heads/2.2.0
Home: https://github.com/Checkmk/checkmk
Commit: 27ff8b5f456d9195ca96e79ae80cdce4a8def73b
https://github.com/Checkmk/checkmk/commit/27ff8b5f456d9195ca96e79ae80cdce4a…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-11-20 (Mon, 20 Nov 2023)
Changed paths:
M tests/unit/cmk/base/plugins/agent_based/test_logwatch_ec.py
Log Message:
-----------
add test to show current (buggy) behavior
Change-Id: Ia6c7fc55fb852bb1dfe07183242cb640c65b3e87
Commit: a9a1dc4319d8bce7e1ccfc522542fa68776cc02d
https://github.com/Checkmk/checkmk/commit/a9a1dc4319d8bce7e1ccfc522542fa687…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-11-20 (Mon, 20 Nov 2023)
Changed paths:
A .werks/15303
M cmk/base/plugins/agent_based/logwatch_ec.py
M tests/unit/cmk/base/plugins/agent_based/test_logwatch_ec.py
Log Message:
-----------
15303 FIX logwatch_ec: remove spool files after reading them
Before this fix spool files were only removed when they were too old or if
there were too many of them.
Spool files that got deleted after reading will be recreated if there was
an error while sending a message.
Change-Id: I7962a77ff83848e915651a6c054b4808e8438412
Commit: b06d04786bb7bdd8d5b93ba2f2b1a7b1d16d89fb
https://github.com/Checkmk/checkmk/commit/b06d04786bb7bdd8d5b93ba2f2b1a7b1d…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-11-20 (Mon, 20 Nov 2023)
Changed paths:
M cmk/base/plugins/agent_based/logwatch_ec.py
Log Message:
-----------
simplify code
variable filename already contains an absolute path:
>>> Path("/some/path") / Path("/absolute/path")
PosixPath('/absolute/path')
Change-Id: I64362498c83bd4ffb343c0fb5c0c1681fdaf9d48
Commit: 93ef410322a1fdd517730ce251e306e3c9ad9c4c
https://github.com/Checkmk/checkmk/commit/93ef410322a1fdd517730ce251e306e3c…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-11-20 (Mon, 20 Nov 2023)
Changed paths:
A .werks/15307
M cmk/base/plugins/agent_based/logwatch_ec.py
M tests/unit/cmk/base/plugins/agent_based/test_logwatch_ec.py
Log Message:
-----------
15307 FIX logwatch_ec: tcp remote forwarding: create one spool file per service
This Werk affects you if you have a logwatch_ec check which forwards
events to a remote syslog hosts and if you activated the option "Create
a separate check for each logfile".
In this case all separate services shared one spoolfile. This lead to
the problem, that one event in the spoolfile was displayed as one event
for each separate service (but it was only sent out once, when the
remote was reachable again).
In some conditions events might been unnoticeable dropped, because the
spoolfile was overwritten by another logwatch service.
Now each logwatch service will have their own spoolfile.
The spoolfiles will be automatically assigned to their logwatch service.
After all your logwatch_ec services sent all their spoolfiles out, you
may manually consult the following folder for <tt>spoolfile.*</tt>
files:
<tt>./var/check_mk/logwatch_spool/<hostname></tt>
If there are any spoolfiles in this folder, they could not be assigned
to a logwatch service. If you still want them to be forwarded, move them
to one of the hash folders, otherwise they can be deleted.
<tt>./var/check_mk/logwatch_spool/<hostname>/<<sha1_hash_of_item></tt>
SUP-16197
Change-Id: Ia5b55076d8ba292d0cc2329e638b42fe0b2d2f8c
Compare: https://github.com/Checkmk/checkmk/compare/0d89ef304245...93ef410322a1
Branch: refs/heads/2.2.0
Home: https://github.com/Checkmk/checkmk
Commit: 35d94b3891286528ddee69250a8b81ae5171d535
https://github.com/Checkmk/checkmk/commit/35d94b3891286528ddee69250a8b81ae5…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-11-20 (Mon, 20 Nov 2023)
Changed paths:
A cmk/werks/__init__.py
A cmk/werks/cli.py
A cmk/werks/convert.py
A cmk/werks/error.py
A cmk/werks/format.py
A cmk/werks/load.py
A cmk/werks/markup.py
A cmk/werks/models.py
A cmk/werks/parse.py
A cmk/werks/validate.py
M tests/testlib/pylint_checker_cmk_module_layers.py
M werk
Log Message:
-----------
copy cmk-werks package to 2.2.0 branch
* we need to be able to pick werks from master branch, which eventually
will be markdown werks, so the werk tool needs to understand markdown
werks.
* we need a way to validate werks in a way that the master branch will
be able to parse them (master branch is a bit more stricter when
parsing werks, and master branch code is used to load werks from all
branches)
this should be a 1:1 copy from master branch, but some things needed to
be adapted, mainly pydantic (master uses 2, this branch 1) and other
linting stuff.
Change-Id: I18ba036a64cf6aa63e608cc17579870d91e459ca
Commit: 0d89ef30424587e5bb04bfa545217ece87ba3e43
https://github.com/Checkmk/checkmk/commit/0d89ef30424587e5bb04bfa545217ece8…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-11-20 (Mon, 20 Nov 2023)
Changed paths:
M buildscripts/scripts/stages.yml
M cmk/werks/validate.py
Log Message:
-----------
add stage to validate werks with cmk.werks
Code of master branch is used to compile werks db for homepage and to
send out mails to mailinglist for all branches, so we have to make sure
that werks on this branch meet master branch werks parse logic.
CMK-15097
Change-Id: Idb007cc9be6b9e08c09dad6c935ae6a68f7f4eef
Compare: https://github.com/Checkmk/checkmk/compare/a2d96b648fae...0d89ef304245