ID: 12955
Title: host collection response in REST API
Component: Core & setup
Level: 2
Class: Bug fix
Version: 2.1.0i1
Up until Checkmk 2.0.0p8 the responses of all host_config collections, due to a bug,
did not contain the attributes, members and links of the host_config objects.
This werk fixes these responses, but changes the OpenAPI specification, so you may
need to recompile your API client.
ID: 12954
Title: generate default site configuration before Apache starts
Component: Core & setup
Level: 2
Class: Bug fix
Version: 2.1.0i1
Before this Werk, the default configuration was created by Checkmk
on the first request to the GUI.
This has been changed to happend *before* the Apache process starts up
the first time. The reason for this is that some parts of Checkmk
(e.g. the REST API) now need the default configuration to already be
present at startup.
This may cause issues with server configuration management systems (e.g.
Puppet, Chef or Ansible) when these systems expect a certain file to be
missing in a newly created site, whereas now these files will exist.
The files in question are:
etc/check_mk/multisite.d/wato/ca-certificates.mk
etc/check_mk/multisite.d/wato/groups.mk
etc/check_mk/multisite.d/wato/global.mk
etc/check_mk/multisite.d/wato/tags.mk
etc/check_mk/multisite.d/wato/users.mk
etc/check_mk/conf.d/wato/contacts.mk
etc/check_mk/conf.d/wato/groups.mk
etc/check_mk/conf.d/wato/rules.mk
etc/check_mk/conf.d/wato/global.mk
etc/check_mk/conf.d/wato/notifications.mk
etc/check_mk/conf.d/wato/tags.mk
ID: 12951
Title: response format of all host_config/folder_config REST API endpoints
Component: Core & setup
Level: 2
Class: Bug fix
Version: 2.1.0i1
The response format of some host_config and folder_config endpoints
did not fully conform to the OpenAPI spec. This has now been fixed, but
this also means that the following endpoints
create folder
hosts of folder
update folder
bulk update folders
move a folder
bulk create hosts
list hosts
will have a different format in SOME attributes on the attributes key
within the "extensions" key. The now documented format in the OpenAPI
documentation is the correct one now.
ID: 12941
Title: REST API: convert known host attributes to well defined structure
Component: Core & setup
Level: 2
Class: Bug fix
Version: 2.1.0i1
Previously the outbound structure of host and folder attributes was not defined. The internal
structure of the values were directly passed through. This was confusing because the inbound
structure of these attributes was already defined, leading to 2 distinct structures of the same
thing.
This is no longer the case. This werk introduces documentation and validation/conversion of outbound
host and folder attributes.
Some attribute values may now be different due to this change. Please check your scripts.