Werk #12954: generate default site configuration before Apache starts
Component | Core & setup |
Title | generate default site configuration before Apache starts |
Date | Jul 14, 2021 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.0.0p8 2.1.0b1 |
Level | Prominent Change |
Class | Bug Fix |
Compatibility | Incompatible - Manual interaction might be required |
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