Agent Problems after update to 2.1.0

Registration indeed is good. But if cmk-agent-ctl cannot be started, access fails. This might be a bug. Please provide me with the output of:

systemctl status check-mk-agent.socket
systemctl status cmk-agent-ctl-daemon.service

You might then switch to xinetd mode:

  1. Install xinetd
apt install xinetd
  1. Disable the systemd services:
systemctl stop check-mk-agent.socket
systemctl disable check-mk-agent.socket
systemctl stop cmk-agent-ctl-daemon.service
systemctl disable cmk-agent-ctl-daemon.service
  1. Install the xinetd service
/var/lib/cmk-agent/scripts/super-server/1_xinetd/setup deploy
/var/lib/cmk-agent/scripts/super-server/1_xinetd/setup trigger
  1. Disable TLS registration on the CMK server: Properties of host, menu entry Host > Remove TLS registration

Afterwards, ss should show xinetd claiming the connection test should work. We’ll come back to you to ask for details that we might not have considered in our test setups.

Edit: Added missing service to be able to re-use this answer.