Configure HTTP/ HTTPS for Virtual Appliance

You can configure an HTTP/HTTPS proxy for your Splunk AppDynamics Self Hosted Virtual Appliance deployment. When you configure a proxy, the HTTP request actions or JIRA actions are routed through the HTTP proxy or the HTTPS proxy, depending on the endpoint.

Splunk AppDynamics Self Hosted Virtual Appliance has two installation profiles- standard deployment and hybrid deployment.

To configure HTTP/HTTPS proxy on the standard deployment:

  1. Locate the /home/appduser/appd-charts/charts/controller/templates/controller-configmap.yml file and take a backup of the file.
  2. Open the controller-configmap.yml file in a suitable editor. Locate the start.ini section and add the following JVM option to enable the HTTP proxy support for alerting actions:
    -Dappdynamics.alerting.actions.http.enable.proxy=true
    Note: You can also enable the HTTP proxy support for alerting actions at, /private/ControllerFlagsServlet endpoint. You must have admin credentials to enable this option.
    The HTTP proxy support for alerting actions is disabled by default.
  3. Add the following JVM options to configure the HTTP and HTTPS proxy authentication parameters, namely, host, port, user, and password.
    -Dhttp.proxyHost=$HOST 
    -Dhttp.proxyPort=$PORT 
    -Dhttp.proxyUser=$USER 
    -Dhttp.proxyPassword=$PASSWORD 
    -Dhttps.proxyHost=$HOST 
    -Dhttps.proxyPort=$PORT 
    -Dhttps.proxyUser=$USER 
    -Dhttps.proxyPassword=$PASSWORD
    Note: If you want to exclude some domains from being accessed via the proxy, add them as follows:
    <jvm-options>-Dhttp.nonProxyHosts=localhost|*.abcd.com|xyz.com</jvm-options>
    Ensure that you provide a plain text password only. Proxy parameter changes are not hot-swappable. This means that you need to restart the Controller to ensure that the changes are reflected.
  4. Run the following command to restart the Controller:
    appdcli start appd <profile>
The configuration steps for the HTTP/HTTPS proxy on the Splunk AppDynamics Self Hosted Virtual Appliance hybrid deployment are identical to those for the Splunk AppDynamics On-Premises deployment. For information, see Configure HTTP/HTTPS Proxy on Splunk AppDynamics On-Premises.