Werk #14714: Agent controller: Respect --detect-proxy when querying port from Checkmk REST API

Component Agent bakery
Title Agent controller: Respect <tt>--detect-proxy</tt> when querying port from Checkmk REST API
Date Aug 10, 2022
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.2.0i1 2.1.0p10
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

During registration, the agent controller (cmk-agent-ctl) queries the port on which the agent receiver is listening from the Checkmk REST API, unless the port has been explicitly provided on the command line. Before this werk, this call to the REST API did not respect the --detect-proxy option, wich enables the detection and usage of sytem proxy settings.

Note that this werk does not change the default behavior, which is to connect directly without any proxy server.

To the list of all Werks