Closed markus-gitdev closed 2 years ago
Just a short answer here. If this does not provide the solution, please continue at https://forum.checkmk.com/
The first call is to detect the port of the agent receiver. Here the CMK server seems to use a certificate the client does not trust. You might just skip this call by appending the port (8000 for the first CMK site on a server) to the hostname of the CMK server. Then the agent receiver is directly addressed without doing the REST API call first.
We'll add this option to the troubleshooting section.
I've added a section describing how to specify the port via command line to skip the port discovery via Web API. Commit 1af0d428. Thanks for the hint.
I've set up my checkmk Raw for HTTPS as described in the docs long before upgrading to version 2.1.0 Raw and everything worked as expected.
After the upgrade to version 2.1.0 Raw, I now have the issue, that I'm not able to register a host as described in the docs to use the newly enhanced agent.
The error that shows up is the following:
I also tried it with the flag
--trust-cert
, which also doesn't work.The interesting part is, that it works from the monitoring-server itself, but not for any other hosts.
If I disable the HTTPS redirect condition in
000-default.conf
and restart the apache2-service, I can also register other hosts and not only the monitoring server itself. It also seems as it's not an SSL issue, since the attempt to register (with the disabled redirect) shows me the certificate of the monitoring server.Could you please update this section, so HTTPS redirects are working and the use of the newly enhanced agent is also possible? Thank you and best regards!