We have Icinga2 running on Ubuntu16.04 and noticed when we initially configured the proxy (for connecting to external HTTPs services), the monitoring we use Icinga2 for was still working (connecting to a HTTPs Rest API). Does Icinga2 not utilise the proxy configured on Ubuntu? For clarity, we configured this in /etc/environment.
Just looking to understand this better as I would have expected it would.
Icinga running the checks (scripts, binary, commands) via shell. So the best way to test is you run the check command manually. The checks are running with the icinga-user. So you could test thist this with