Werk #20216 · Dec 1, 26
Data backend: store the data of remote sites on the central site
In a distributed setup, a remote site can now store the data of its features in the data backend of the central site instead of running a data backend instance of its own. The features are OpenTelemetry metrics and Synthetic monitoring.
Where each feature stores its data
The global setting Data backend in Setup > General > Global settings > Site management has the new section Data backend used by each feature. For each feature, you choose where a site stores its data:
- Local data backend: in the data backend instance of the site itself.
- Central data backend: in the data backend instance of the central site. This is offered for remote sites only, and only once the central site allows Access by remote sites.
- Disabled: nowhere. This is the default.
You set the feature locations of a remote site in its site-specific settings in Setup > Distributed monitoring.
Enabling the local data backend instance no longer stores any data by itself: a feature stores data only once you set its location. Sites that had the metric backend enabled in Checkmk 2.5 are updated to store OpenTelemetry metrics locally, so they keep working as before. The Quick Setups for OpenTelemetry and Prometheus set OpenTelemetry metrics to Local data backend unless the site already stores it.
Storing data on the central site
To let remote sites store their data in the data backend of the central site:
- In the value of the central site, enable the local data backend instance and its Access by remote sites, and enter the Address reachable by remote sites.
- In the value of each remote site, set the features to Central data backend and enter the Address this site connects to the central data backend from.
- Activate the changes.
Access by remote sites binds the native protocol SSL/TLS port and the HTTP SSL/TLS port of the central site's instance beyond the loopback interface. Open both ports in your firewall for the remote sites. Until then, all ports of a data backend instance listen on the loopback interface only.
The central site gives each remote site a database per feature and users that may access only that database. The remote site authenticates with a client certificate that the central site issues to it, and the central site accepts its connections only from the address you entered for it.
Before you save the value of a remote site, Test the connection to the central data backend checks the connection step by step.
Updating a remote site also updates its databases on the central site.
Changes that a save implies
The data backend settings of the sites depend on each other. For example, disabling the data backend instance of the central site leaves the remote sites that store features there without a place for their data. Instead of refusing such a save, Checkmk lists the implied changes it needs, each with its site, while you edit. In this example, it sets these features to Disabled. Check Make these changes to save the setting and make them. Each affected site gets a pending change of its own.
An implied change never moves a feature to another data backend. Resetting the setting to its default makes its implied changes without asking, and the pending changes of the affected sites name them.
Details
- Class:
- New Features
- Level:
- Prominent
- Component:
- Setup (WATO)
- Versions:
- 3.0.0b1Not yet releasedUltimateUltimate + MTCloud