The Server Density agent has native proxy integration. Looking to configure a proxy on the v1 agent?
To configure a proxy, you'll need to edit your config.cfg file and configure the following options based on your needs:
proxy_host: proxy_port: proxy_user: proxy_password: proxy_forbid_method_switch:
More information regarding these options can be found on the agent configuration options page.
Restart the agent after any changes.
Alternatively, you can set the
http_proxy environment variable to tell the agent to use a proxy server for all requests. You can set this on a system level which will affect all Python scripts, including the Server Density agent.
On Linux, just edit the
/etc/environment file and include this line in it:
You will need to log out and log back in again to see the effects of changes to this file, which you can check by executing
printenv. See this guide for more details about Linux environment variables.
For servers with no direct internet access please see our agent proxy option.