CMK version:
Checkmk Raw Edition 2.4.0p10
OS version:
Windows 10 Pro 22H2 19045.6216
Greetings,
I’m newcomer with CheckMK. My server part is installed on a docker container, with the following ports being mapped from the docker host (ubuntu VM) to the container itself:
- 5000:5000
- 8001:8000
I am unable to register my freshly installed Checkmk Windows agent. Here is the command I use:
.\cmk-agent-ctl.exe register --hostname workstationhostname --server 192.168.1.2:8001 --site http://192.168.1.2:5000 --user agent_registration --password "mypassword"
I access the webpage of the Checkmk console via http://192.168.1.2:5000 so my understanding is that I should put that URL as an argument. I have mapped port 8001 to the internal 8000 because I have another application sitting at this port already. I am not aware if that may be the problem.
Error message:
-----END CERTIFICATE-----
Issued by:
Site 'cmk' local CA
Issued to:
cmk
Validity:
From XXX
To XXX
Do you want to establish this connection? [Y/n]
> y
[2025-08-26 10:49:45.467106 +03:00] ERROR [cmk_agent_ctl] cmk-agent-ctl\src\main.rs:35: Error registering existing host at https://192.168.1.2:8001/http://192.168.1.2:5000
Caused by:
Request failed with code 404 Not Found: Not Found
PS C:\Program Files (x86)\checkmk\service>
I have not performed any FW changes on the Windows endpoint because from what I’ve seen, the agent should do that during installation anyway.
Any help would be appreciated.