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

Komponente Agent bakery
Titel Agent controller: Respect <tt>--detect-proxy</tt> when querying port from Checkmk REST API
Datum 10.08.2022
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.2.0i1 2.1.0p10
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks