|Title||Agent controller: Try to query port both via http and https|
|Checkmk Edition||Checkmk Raw Edition (CRE)|
|Compatibility||Compatible - no manual interaction needed|
When registering at a site, the agent controller (
cmk-agent-ctl) needs to
know the port at which the site is reachable. If not explicitly passed via the
command line, the controller tries to query this port from the REST API of the site.
Up to now, the controller only attempted to contact the REST API via
Now, the controller tries both
https and only fails if
neither of the two suceeded.