Is there a way to configure the agent to listen on a specific address, instead of 0.0.0.0 ?
As far as I can tell, there are no options related to this in /usr/lib/systemd/system/cmk-agent-ctl-daemon.service file. /usr/bin/check_mk_agent --help is not really helpfull
The software that actually listens for incoming connections is the cmk-agent-ctl executable in daemon mode. (It’s not the checkmk agent itself.) cmk-agent-ctl can only be configured to listen on a different port instead of 6556 or allow incoming connections only from certain IPs instead of from all IPs. See cmk-agent-ctl daemon --help.
AFAIK there’s no possibility to locally bind to a certain network adapter or IP address.
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.