Linux Systemd Proxy Configuration Work for Agent 39 and Later

Linux devices on Agent version 39 (which switches from init.d to system.d for agent service action) not finding proxy settings on the device.

Symptoms

Devices that would need this will show in the agent log that the connection attempt reports no proxy found and moving on to direct connection. This is specifically for agents on the systemd iteration of the agent.

Steps to resolution

To correct the issue, the following lines can be added to the /etc/systemd/system/multi-user.target.wants/amagent.service file within the [Service] section in order to specify the proxy configs

    • Environment="AUTOMOX_PROXY=http://PROXYURL:PORT"
      Environment="HTTP_PROXY=http://PROXYURL:PORT"
      Environment="HTTPS_PROXY=http://PROXYURL:PORT"

For more information on using Automox with a proxy, please see the following article: Using the Automox Agent With a Proxy Server

Was this article helpful?
0 out of 0 found this helpful