Werk #14416: Agent controller: Fix agent data transport for IPv4-only hosts
Component | Agent bakery | ||||
Title | Agent controller: Fix agent data transport for IPv4-only hosts | ||||
Date | Jun 15, 2022 | ||||
Level | Trivial Change | ||||
Class | Bug Fix | ||||
Compatibility | Compatible - no manual interaction needed | ||||
Checkmk versions & editions |
|
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.