Title: mongodb_replica_set: Fix replication lag and last replication time
Class: fix
Compatible: compat
Component: checks
Date: 1709804918
Edition: cre
Level: 1
Version: 2.2.0p24
Checkmk previously assumed that timestamps collected from MongoDB oplog
are provided in ms. This wasn't the case, which led to wrong values for
replication lag and last replication time being shown in
the 'MongoDB Replication Lag' service.
[//]: # (werk v2)
# Crash when creating combined graphs with empty time filter
key | value
---------- | ---
date | 2024-03-08T07:50:30+00:00
version | 2.4.0b1
class | fix
edition | cre
component | multisite
level | 1
compatible | yes
When creating a combined graph with an empty time filter (e.g. Last service check),
the creation of the combined graph would crash.
This behavior is not consistent with the view filtering behavior,
where the filter is not applied if it is empty.
Now the filter is not applied to combined graphs either.
[//]: # (werk v2)
# password: improve the openapi documentation
key | value
---------- | ---
date | 2024-03-07T08:13:23+00:00
version | 2.4.0b1
class | fix
edition | cre
component | rest-api
level | 1
compatible | yes
This werk is to improve on the existing documentation for the password
endpoints.
Title: docker_node_images: KeyError: 'VirtualSize'
Class: fix
Compatible: compat
Component: checks
Date: 1709742514
Edition: cre
Level: 1
Version: 2.2.0p24
In newer versions of the Docker API the information about the 'VirtualSize' of a node image is not available, because it has been deprecated.
From now on the plugin will use 'VirtualSize' if available, and 'Size' if not.
Title: downtimes: Added 'modify downtimes' endpoint
Class: feature
Compatible: compat
Component: rest-api
Date: 1709289998
Edition: cre
Level: 1
Version: 2.2.0p24
With this Werk a new endpoint for modifying downtimes is incorporated.
It is possible to modify the comment and the end timestamp as in the GUI.
The selection of downtimes to modify can be done by id, by query, or by
hostname and service description.
Method: PUT
URL: domain-types/downtime/actions/modify/invoke
Title: Fix metric history painter with inherit time range option
Class: fix
Compatible: compat
Component: reporting
Date: 1709800537
Edition: cee
Level: 1
Version: 2.2.0p24
If you used the option “Inherit from report time range” for the painter "Metric
history" in report content elements, an error was shown in the report.
This affected all previous 2.2 versions.
Title: folder_config: Prevent unintentional deletion of a non-empty folder
Class: fix
Compatible: incomp
Component: rest-api
Date: 1704965695
Edition: cre
Level: 1
Version: 2.2.0p24
Prior to this Werk, the REST API could delete non-empty folders without any further check. With this Werk, the endpoint now accepts the <strong>delete_method</strong> query parameter. The possible values are:
- <strong>recursive</strong>: Deletes the folder and all the elements it contains.
- <strong>abort_on_nonempty</strong>: Deletes the folder only if it is not empty
If no delete_method is provided, <strong>recursive</strong> is asumed and the behaviour is the same as before this Werk.
The enpoint will return a 409 status code when trying to delete a folder that contains hosts, rules, subfolders or is referenced by another object.
Use example:
<code>curl -X 'DELETE' 'http://example.com/my_site/check_mk/api/1.0/objects/folder_config/my_folder…' -H 'accept: <em>/</em></code>
[//]: # (werk v2)
# Fix metric history painter with inherit time range option
key | value
---------- | ---
compatible | yes
version | 2.4.0b1
date | 2024-03-07T08:35:37+00:00
level | 1
class | fix
component | reporting
edition | cee
If you used the option “Inherit from report time range” for the painter "Metric
history" in report content elements, an error was shown in the report.
This affected all previous 2.2 versions.