Due to specific vendor requirements, we have disabled IPv6 in our environment. Most clients with the CheckMk are working fine a some are only listening on IPv6 dispite the fact that IPv6 is disabled.
All affected clients are a mix of RHEL versions from 7 through to 9.
The process that listens on port 6556 for incoming requests is the cmk-agent-ctl daemon which is controlled by the systemd unit cmk-agent-ctl-daemon.service.
I’m sorry to ask but have you tried restarting that unit since you disabled IPv6?
But what you can try is this: stop the systemd unit and start the daemon manually as user cmk-agent in the foreground with -vv (see cmk-agent-ctl daemon --help for further options). Maybe it gives you some hints:
sudo systemctl stop cmk-agent-ctl-daemon.service
sudo -u cmk-agent cmk-agent-ctl daemon -vv
INFO [cmk_agent_ctl] starting
INFO [cmk_agent_ctl] Loaded config from '"/var/lib/cmk-agent/cmk-agent-ctl.toml"', legacy pull 'LegacyPullMarker("/var/lib/cmk-agent/allow-legacy-pull")' absent
DEBUG [cmk_agent_ctl::modes::push] Sleeping 0s to avoid DDOSing of sites
INFO [cmk_agent_ctl::modes::pull] Start listening for incoming pull requests
INFO [cmk_agent_ctl::modes::pull] Listening on [::]:6556 for incoming pull connections (IPv6 & IPv4 if activated)
If you are done, hit CTRL-C and re-start the unit again.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.