Register an agent on a Kubernetes deployed site

CMK version:2.2p17
OS version: Kubenetes 1.26

I have setup checkmk manually in my kubernetes cluster with traefik. I can access the dashboard and download agents.
When I try to register the host with ‘cmk-agent-ctl -vv register’ the process hangs at

Attempting to register at monitor.hostname.xyz, port 8000. Server certificate details:

So obviously, it can’t reach port 8000, which is expected since the is no Ingress defined for this port. What is the approach to be able to register host on such a deployment.
My preferred way would be to change the port 8000 to 80 or 443, both are defined as Entrypoints in traefik already.

Hi.

Try to use the registration on an other agent. This is called registration proxy. You will find this in the Manual Monitoring Linux - The new agent for Linux in detail (checkmk.com)

Rg, Christian

1 Like