CMK version:
raw 2.3.0-latest
OS version:
Rocky Linux 9.3 (on Hosts) / Rocky Linux 9.4 on Monitoring Server
Command
cmk-agent-ctl register --trust-cert --hostname myhost --server 192.168.1.100:443 --site mysite --user automation --password mypassword
Error message:
ERROR [cmk_agent_ctl] Error registering existing host at https://192.168.1.100/cmk
Caused by:
Request failed with code 404 Not Found: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
</body></html>
Command2
cmk-agent-ctl register --trust-cert --hostname myhost --server 192.168.1.100 --site mysite --user automation --password mypassword --detect-proxy
Error2
ERROR [cmk_agent_ctl] Error registering existing host at https://192.168.1.100:8080/cmk
Caused by:
0: Calling registration endpoint failed
1: error sending request for url (https://192.168.1.100:8080/cmk/agent-receiver/register_existing): error trying to connect: tcp connect error: Host is unreachable (os error 113)
2: error trying to connect: tcp connect error: Host is unreachable (os error 113)
3: tcp connect error: Host is unreachable (os error 113)
4: Host is unreachable (os error 113)
Hello!
I’m trying to set up checkmk on our HPC cluster, we are running it on a Server (Rocky Linux 9.4) within a podman container. I set up the site and now I’m trying to add the Nodes as hosts. When trying to register the agent I either receive the error 404 Page not found if I specify the port 443 (We set up a proxy from this port to the agent receiver port) or I receive “Host is unreachable” if i specify the agent receiver port (we changed it to 8080).
I’m still very inexperienced with such tasks and any help or hints would be appreciated.