Werk #12699: Activate Livestatus TCP socket with systemd on recent enough systems

Komponente Core & setup
Titel Activate Livestatus TCP socket with systemd on recent enough systems
Datum 26.10.2021
Checkmk-Editon Checkmk Enterprise (CEE)
Checkmk-Version 2.1.0i1
Level Kleine Änderung
Klasse Neues Feature
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

The Livestatus socket can be configured to be reachable over the network (details can be found under https://docs.checkmk.com/latest/en/livestatus.html#network). This is needed for, e.g., building distributed environments with Checkmk.

In previous releases this network connection was managed by a site-specific xinetd instance. Since xinetd is not available on newer Linux distributions, we have added an alternative mode of managing the socket using systemd.

All Checkmk sites on Linux distributions with a systemd version newer or equal to version 235 that have the LIVESTATUS_TCP option enabled (see abover for a link to the manual) automatically and seamlessly switch to the new systemd-managed socket after upgrading to Checkmk 2.1. Older Linux distributions keep using xinetd.

Users are advised to double-check the systemd configuration under $OMD_ROOT/etc/mk-livestatus/livestatus.socket and $OMD_ROOT/etc/mk-livestatus/livestatus@.service.

Zur Liste aller Werks