Title: Refer to a time period by its name instead of its alias in the REST API
Class: fix
Compatible: incomp
Component: rest-api
Date: 1696245234
Edition: cre
Knowledge: doc
Level: 1
State: unknown
Version: 2.2.0p12
Before this Werk, a time period to be excluded was referred to by its alias and not its name. This Werk changes that behaviour and now time periods to exclude must be referred to by their name.
Also, the retrieval of a time period now returns time periods names in the exclude field. To integrate this change, the user must fill in the exclude field with the name of the time periods instead of their alias.
Affected endpoints
* creation
* update
* retrieval
Title: checking: Prevent data loss on hosts with longer check intervals
Class: fix
Compatible: compat
Component: core
Date: 1695217743
Edition: cre
Knowledge: doc
Level: 1
State: unknown
Version: 2.3.0b1
Previously, the validity of agent data for discovery and HW/SW inventory checks was 2 minutes.
When checking is performed with a longer interval, the discovery would re-trigger fetching of the agent data.
In some checks this leads to data loss, because the checking fetches the data again and the data
fetched by the discovery is lost.
The cache interval for discovery and HW/SW inventory checks is now 1.5 * checking interval.
Title: event console: Incorrect title and link to the event console
Class: fix
Compatible: compat
Component: ec
Date: 1696513660
Edition: cre
Knowledge: doc
Level: 1
Version: 2.3.0b1
This Werk fixes the generation of the title and the link to access the event console when the responsible command has more than one argument.
Title: Inpage search: Allow searching for folders on hosts page
Class: feature
Compatible: compat
Component: wato
Date: 1696575294
Edition: cre
Knowledge: undoc
Level: 1
Version: 2.3.0b1
Until now, it was only possible to search for hosts on the "Setup" - "Hosts"
page. The inpage search in the page menu now also allows searching for folders.
Title: discovery: Fix missing datasource error for cluster hosts
Class: fix
Compatible: compat
Component: checks
Date: 1696495573
Edition: cre
Knowledge: doc
Level: 1
State: unknown
Version: 2.3.0b1
Previously, a missing datasource error would be shown in a discovery
page of a cluster host if the cluster host had 'No IP' configured
but had nodes with an agent datasource.
Services of a cluster host would also become vanished.
Checkmk now supports the described setup, there is no error in the
discovery page and clustered services are discovered.
Title: rule: update a rule preserving its index, folder, and ruleset
Class: feature
Compatible: compat
Component: rest-api
Date: 1694014829
Edition: cre
Knowledge: undoc
Level: 1
Version: 2.3.0b1
This werk enables the user to update a rule using the REST API. Updating a rule preserves its index, folder, and ruleset.
Title: Add max_long_output_size livestatus column
Class: feature
Compatible: compat
Component: livestatus
Date: 1696505149
Edition: cee
Knowledge: undoc
Level: 1
Version: 2.3.0b1
The "max_long_output_size" in the status table returns the
value that is currently configured.
For Nagios, the column always returns 0 as Nagios doesn't
support this feature.
Title: host_config: set start field as nullable
Class: fix
Compatible: compat
Component: rest-api
Date: 1695887849
Edition: cre
Knowledge: doc
Level: 1
Version: 2.3.0b1
This werk addresses a small issue with our host_config response schema. We
in some cases return a null value for the start field in network_scan_result.
This violates the response schema. To fix this, we set the schema field
to allow_none.
Title: group_config: bulk updating requires the attributes field
Class: fix
Compatible: incomp
Component: rest-api
Date: 1695918830
Edition: cre
Knowledge: doc
Level: 1
Version: 2.3.0b1
This werk addressses an issue discovered by our QA team. When doing a bulk
update on any of the following REST-API domains, this caused an error
when you didn't provide the attributes field.
host_group_config
service_group_config
contact_group_config
This fix means that the attribute for bulk updating is now a required field.
Title: host_config: bulk delete hosts requires at least 1 entry
Class: fix
Compatible: compat
Component: rest-api
Date: 1696225078
Edition: cre
Knowledge: doc
Level: 1
Version: 2.3.0b1
This werk addresses an issue found by our QA team when bulk deleting hosts
via the following endpoint.
/domain-types/host_config/actions/bulk-delete/invoke
The body for this endpoint requires that the entries fields is given a
list of host names that the client wants to delete. However, when
passing in an empty list, this was causing problems. To get around
this, we've set a mininum value of items for the entries field to 1.