Werk #14416: Agent controller: Fix agent data transport for IPv4-only hosts

Komponente Agent bakery
Titel Agent controller: Fix agent data transport for IPv4-only hosts
Datum 15.06.2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.1.0p3 2.2.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

The agent controller (cmk-agent-ctl) crashed on IPv4-only hosts when attempting to open a TCP socket in order to allow Checkmk to connect to the host and collect agent data. Note that on Linux hosts, this crash only occured if IPv6 was disabled at the kernel level. The corresponding error message read

ERROR [cmk_agent_ctl] Address family not supported by protocol (os error 97)

Note that this crash only affected the transport of agent data, not the host registration.

Zur Liste aller Werks