Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 4801f5e122d751b81d55c43ae888f1c71a791894
https://github.com/Checkmk/checkmk/commit/4801f5e122d751b81d55c43ae888f1c71…
Author: Andreas Umbreit <andreas.umbreit(a)checkmk.com>
Date: 2023-11-16 (Thu, 16 Nov 2023)
Changed paths:
M packages/check-http/src/checking.rs
M packages/check-http/src/main.rs
M packages/check-http/src/output.rs
Log Message:
-----------
check_http: check_levels
Also make types used in UpperLevels compatible for
usage in Metric
CMK-14257
Change-Id: I11bb7983e52cc01e2ad602a57c34f040a663c1af
Commit: 60c5ee74cc53e2a2d93181cd51523771947a437f
https://github.com/Checkmk/checkmk/commit/60c5ee74cc53e2a2d93181cd515237719…
Author: Andreas Umbreit <andreas.umbreit(a)checkmk.com>
Date: 2023-11-16 (Thu, 16 Nov 2023)
Changed paths:
M packages/check-http/src/checking.rs
Log Message:
-----------
check_http: Bring check_page_size to desired format
* We don't have a check_bounds helper because this would be the
only caller, so we're doing this inline
* size metric may be optional in the end, but hardcoding it for now.
CMK-14257
Change-Id: I1c0d6302e6e70087d3eb414383165d4c7ba3a6aa
Commit: f22bb348b291aeae4951c5fbd0983b17fff8396f
https://github.com/Checkmk/checkmk/commit/f22bb348b291aeae4951c5fbd0983b17f…
Author: Andreas Umbreit <andreas.umbreit(a)checkmk.com>
Date: 2023-11-16 (Thu, 16 Nov 2023)
Changed paths:
M packages/check-http/src/checking.rs
M packages/check-http/src/main.rs
M packages/check-http/tests/test_http.rs
Log Message:
-----------
check_http: Bring check_response_time to desired format
SUP-14257
Change-Id: Ib61bd359c120f7c844ff191256ebe068051fb0db
Commit: 7bea127f84ddd041c63e6592139b2263f7534e24
https://github.com/Checkmk/checkmk/commit/7bea127f84ddd041c63e6592139b2263f…
Author: Andreas Umbreit <andreas.umbreit(a)checkmk.com>
Date: 2023-11-16 (Thu, 16 Nov 2023)
Changed paths:
M packages/check-http/src/checking.rs
M packages/check-http/src/main.rs
M packages/check-http/src/output.rs
Log Message:
-----------
check_http: Revert check_levels_with_metric()
This turned out to be overly complicated, because we needed to
transform from T to f64.
Now, we only need to transform UpperLevels<T> to UpperLevels<f64>
for concrete T.
SUP-14257
Change-Id: If1338712e962e1a2da8e8085df6df45dfa0f6c1e
Compare: https://github.com/Checkmk/checkmk/compare/b2899c99e506...7bea127f84dd
Branch: refs/heads/2.1.0
Home: https://github.com/Checkmk/checkmk
Commit: 95ca7021f48c1c8e066e50f7a04718e20899b909
https://github.com/Checkmk/checkmk/commit/95ca7021f48c1c8e066e50f7a04718e20…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-11-16 (Thu, 16 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: 3bd9d33a5339e802d693f65e7ab5804fda826d99
https://github.com/Checkmk/checkmk/commit/3bd9d33a5339e802d693f65e7ab5804fd…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-11-16 (Thu, 16 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: 3a5be3c4b10baa200b66e92b9daf38b2e441ef39
https://github.com/Checkmk/checkmk/commit/3a5be3c4b10baa200b66e92b9daf38b2e…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-11-16 (Thu, 16 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: 3273c27bc9686809f3acb5ea4eb6b6157baac152
https://github.com/Checkmk/checkmk/commit/3273c27bc9686809f3acb5ea4eb6b6157…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-11-16 (Thu, 16 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/2751b9c3f843...3273c27bc968
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: a3af7bb17953d6c44b140b562e5b7e04f0402174
https://github.com/Checkmk/checkmk/commit/a3af7bb17953d6c44b140b562e5b7e04f…
Author: Matteo Stifano <matteo.stifano(a)checkmk.com>
Date: 2023-11-16 (Thu, 16 Nov 2023)
Changed paths:
M tests/integration/checks/test_checks_sanity.py
Log Message:
-----------
test_checks_sanity: Remove 'Postfix status' service from verified list
Such service appears in CRIT status after discovery. We temporary remove
it from the list of services this test asserts.
Related: CMK-13774
Change-Id: Ic797274358dc241be52ddbfc067deb7896691b0d
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: cf7ea3300c0ac0bed9a2e267e76295b671410137
https://github.com/Checkmk/checkmk/commit/cf7ea3300c0ac0bed9a2e267e76295b67…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-11-16 (Thu, 16 Nov 2023)
Changed paths:
M tests/testlib/__init__.py
Log Message:
-----------
testlib: Fix display of WatchLog logs
Change-Id: I084b73b5ca42ae282c81cee2e80696f1d2c61f9d
Commit: d40e8222cb351224dd6da669847ca5a4845862e9
https://github.com/Checkmk/checkmk/commit/d40e8222cb351224dd6da669847ca5a48…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-11-16 (Thu, 16 Nov 2023)
Changed paths:
M packages/check-cert/Cargo.lock
M packages/check-cert/Cargo.toml
Log Message:
-----------
check-cert: Add x509-parser dependency
The X509 API from OpenSSL in rust is really hard to use. Let's keep
OpenSSL to download the certificate but do everything else with
x509-parser.
CMK-14683
Change-Id: I7b51e898e7ddf68a99008abe892c8581452c3ea0
Commit: 89644c5d0ec654ce51c9f4c2bc13ab7fd990bc29
https://github.com/Checkmk/checkmk/commit/89644c5d0ec654ce51c9f4c2bc13ab7fd…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-11-16 (Thu, 16 Nov 2023)
Changed paths:
M packages/check-cert/src/fetcher.rs
M packages/check-cert/src/main.rs
Log Message:
-----------
check-cert: let `fetch_server_cert()` return the DER
This doesn't leak the OpenSSL type into main() anymore. Now, we
can cleanly separate fetching and checking library backends.
CMK-14683
Change-Id: I3c76ea74e3844b68d067a15f097ae3676d9b2bed
Compare: https://github.com/Checkmk/checkmk/compare/291e3c9467c8...89644c5d0ec6
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 291e3c9467c85923e9421836b8061bc21a4a042c
https://github.com/Checkmk/checkmk/commit/291e3c9467c85923e9421836b8061bc21…
Author: Christoph Rauch <christoph.rauch(a)checkmk.com>
Date: 2023-11-16 (Thu, 16 Nov 2023)
Changed paths:
M cmk/base/plugins/agent_based/aws_status.py
M cmk/base/plugins/agent_based/azure_status.py
M cmk/base/plugins/agent_based/cmk_agent_ctl_status.py
M cmk/base/plugins/agent_based/cmk_update_agent_status.py
M cmk/base/plugins/agent_based/gcp_status.py
M cmk/base/plugins/agent_based/graylog_failures.py
M cmk/base/plugins/agent_based/kube_deployment_conditions.py
M cmk/base/plugins/agent_based/kube_node_container_count.py
M cmk/base/plugins/agent_based/kube_node_count.py
M cmk/base/plugins/agent_based/kube_replicas.py
M cmk/base/plugins/agent_based/openshift_queries.py
M cmk/base/plugins/agent_based/prometheus_cpu.py
M cmk/base/plugins/agent_based/prometheus_uptime.py
M cmk/gui/background_job/_store.py
M cmk/gui/dashboard/dashlet/dashlets/graph.py
M cmk/gui/global_config.py
M cmk/gui/graphing/_graph_images.py
M cmk/gui/graphing/_graph_specification.py
M cmk/gui/graphing/_html_render.py
M cmk/gui/http.py
M cmk/gui/watolib/services.py
M cmk/plugins/lib/checkmk.py
M cmk/plugins/lib/kube_resources.py
M cmk/special_agents/agent_aws.py
M cmk/special_agents/agent_aws_status.py
M cmk/special_agents/agent_azure_status.py
M cmk/special_agents/agent_gcp_status.py
M cmk/special_agents/agent_kube.py
M cmk/special_agents/utils/node_exporter.py
M cmk/special_agents/utils_kubernetes/api_server.py
M cmk/special_agents/utils_kubernetes/performance.py
M cmk/special_agents/utils_kubernetes/transform.py
M cmk/utils/prediction/_prediction.py
M cmk/utils/prediction/_query.py
M packages/cmk-agent-receiver/cmk/agent_receiver/checkmk_rest_api.py
M packages/cmk-agent-receiver/cmk/agent_receiver/utils.py
M packages/cmk-mkp-tool/cmk/mkp_tool/cli.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_cpu.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_deployment_conditions.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_node_container_count.py
M tests/unit/cmk/special_agents/agent_kube/test_node.py
M tests/unit/cmk/special_agents/test_agent_aws_status.py
M tests/unit/cmk/special_agents/test_agent_datadog.py
M tests/unit/cmk/special_agents/test_agent_gcp_status.py
M tests/unit/cmk/update_config/plugins/actions/test_prediction_files_cleanup.py
M tests/unit/cmk/utils/prediction/test_query.py
M tests/unit/cmk/utils/prediction/test_services_prediction.py
Log Message:
-----------
pydantic 2: remove deprecated function calls
* dict -> model_dump
* json -> model_dump_json
* parse_obj_as -> TypeAdapter
* parse_file_as -> open().read() + model.model_validate_json
Change-Id: I9d56acee3f5f9cdebc5d3447197b6e462e0c8b50