Checkmk Enterprise Edition 2.1.0p4
I’m having an issue with registering the agent error (warning)
The hosts agent supports TLS, but it is not being used.
We strongly recommend to enable TLS by registering the host to the site (using the
cmk-agent-ctl register command on the monitored host).
NOTE: A registered host will refuse all unencrypted connections. If the host is monitored by multiple sites, you must register to all of them. This can be problematic if you are monitoring the same host from a site running Checkmk version 2.0 or earlier.
If I try to register it with the command:
cmk-agent-ctl register --detect-proxy --hostname FOO --server bla.domain.com --site FOO --user BAR --password FOO
I’m getting an error:
ERROR [cmk_agent_ctl] Connection refused (os error 111)
When I’m editing my host file with the IP of the server and URL it’s working
But the info is the same as my DNS server gives me (for example: bla.domain.com 10.0.0.1) without hostfile and with hostile bla.domain.com 10.0.0.1
Port 8000 is open for any traffic internally
Anyone any suggestions?