Agent is running on FreeBSD 13.0-RELENG. Host is behind a proxy within a dedicated network and does not need to access proxy host. HTTP_PROXY/HTTPS_PROXY (and the lower case versions) are set to our proxy accordingly, NO_PROXY/no_proxy is also set for exclusions of un-proxied network. Setting is done via /etc/login.conf.
When running the perl-based agent, it failed to work:
[info] target server0: server https://10.1.1.3/glpi/plugins/fusioninventory/
[error] Proxy must be specified as absolute URI; '10.1.1.250:3128' is not at /usr/local/share/fusioninventory/lib/FusionInventory/Agent/HTTP/Client.pm line 51.
in agent.cfg, the 'proxy = ' variable is left unset as in the template.