cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Deepanshu.Grover
AppDynamics Team (Retired)

This is not possible for hosted agents.

 

For private agents

 

Using Chrome or IE10/11:

  • Stop the agent. Log out.
  • Log in as agent_user (password: Appdynamics123).
    • Note you can't do this over RDP; you need local access to the machine.
  • Navigate to Control Panel > Network and Internet > Internet Options > Connections > LAN Settings.
  • Enable "Use a proxy server for your LAN" and fill in the proxy server info.
  • Enable "Bypass proxy server for local addresses"
  • Click "Advanced". Under "Exceptions", add localhost;127.0.0.1
  • Log out. Log back in as Administrator and restart the agent.

 

Using Firefox:

  • Add the following to C:\appdynamics\browsers\firefox\<>\mozilla.cfg

  • Customize the following proxy settings and add to C:\appdynamics\browsers\firefox\<<VERSION>>\mozilla.cfg

    pref("network.proxy.type", 1); // this setting may be there already; if so, replace it

    pref("network.proxy.http", "<PROXY ADDRESS>");

    pref("network.proxy.http_port", <PROXY PORT>);

    pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, *.server.local");

    pref("network.proxy.share_proxy_settings", true);

 

Note: Test the proxy settings by creating a synthetic job for http://www.whatismyproxy.com and checking the results.

 

  • Here is an example of what the config could look like customized for a specific client. For information on the possible values and the effects of the Network Proxy Type, click here
// EXAMPLE pref("network.proxy.type", 5) 
// A 5 WAS NEEDED INSTEAD OF A 1 WITHOUT QUOTES pref("network.proxy.type", 5);
// EXAMPLE pref("network.proxy.http", "proxy.domain.com");
// ENTER URL OF PROXY ENCLOSED IN QUOTES
pref("network.proxy.http", "PROXY_URL_HERE");
// EXAMPLE pref("network.proxy.http_port", 8080);
// ENTER PORT NUMBER NO QUOTES
pref("network.proxy.http_port", PROXY_PORT_HERE);
// EXAMPLE REMOVED ",*.server.local" FROM PREF pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");

//UNCHANGED pref("network.proxy.share_proxy_settings", true);
Comments
Mayuresh.Kshirsagar
AppDynamics Team (Retired)

In this comment:

// EXAMPLE pref("network.proxy.type", 5) 
// A 5 WAS NEEDED INSTEAD OF A 1 WITHOUT QUOTES pref("network.proxy.type", 5);
// EXAMPLE pref("network.proxy.http", "proxy.domain.com");
// ENTER URL OF PROXY ENCLOSED IN QUOTES
pref("network.proxy.http", "PROXY_URL_HERE");
// EXAMPLE pref("network.proxy.http_port", 8080);
// ENTER PORT NUMBER NO QUOTES
pref("network.proxy.http_port", PROXY_PORT_HERE);
// EXAMPLE REMOVED ",*.server.local" FROM PREF pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");

//UNCHANGED pref("network.proxy.share_proxy_settings", true);

We do not need:

// EXAMPLE pref("network.proxy.http", "proxy.domain.com");  
// ENTER URL OF PROXY ENCLOSED IN QUOTES
pref("network.proxy.http", "PROXY_URL_HERE");

// EXAMPLE pref("network.proxy.http_port", 8080); 
// ENTER PORT NUMBER NO QUOTES
pref("network.proxy.http_port", PROXY_PORT_HERE);

// EXAMPLE REMOVED ",*.server.local" FROM PREF
pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");

//UNCHANGED
pref("network.proxy.share_proxy_settings", true);

If type is set to 5:

pref("network.proxy.type", 5);

As 5 means - use system proxy settings.

Version history
Last update:
‎10-31-2018 09:25 AM
Updated by:
On-Demand Webinar
Discover new Splunk integrations and AI innovations for Cisco AppDynamics.


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here