CMK version: 2.3.0p22
OS version: Checkmk server: Debian 12. Target monitoring host: Ubuntu 22.04
Error message: I’ve downloaded the .deb package from Setup>Agents>Linux, Solaris, AIX files and I’ve installed in my Ubuntu 22.04 server. I can then see it runs under systemd but the cmk-agent-ctl-daemon.service only listens on IPv6.
tcp6 0 0 :::6556 :::* LISTEN 872492/cmk-agent-ct
I’ve checked with tcpdump and the server packets are indeed reaching the target host.
14:06:46.828412 IP 10.18.12.149.43228 > 10.18.13.30.6556: Flags [S], seq 3504238442, win 64240, options [mss 1357,sackOK,TS val 1477633922 ecr 0,nop,wscale 7], length 0
The machine is only reachable using an IPv4 tunnel. How can I change it to dual-stack or IPv4?
I’ve read many similar threads, but none is applicable.
- check mk - Check_mk agent listening on ipv6, how to change to ipv4 - Server Fault → Applies to xinetd, but I’m using systemd
- Check_mk agent not listening on IPv4 port - #3 by slashdoom - Help - LibreNMS Community → Suggests changing the socket configuration but the agent is now using “ListenStream=/run/check-mk-agent.socket” and not “ListenStream=6556” so it doesn’t apply. Also, setting BindIPv6Only to both didn’t help
Thanks
