AppD Archive

Reverse proxy setup for Java app agents

Ketan_Mistry
New Member

I have an on-premise 4.1 install. I am trying to connect Java agents and UI through an Apache Reverse Proxy.

UI seems to be working fine.

I have a Java agent that was successfully connected to the controller directly i.e

<controller-host>mycontroller.db.com</controller-host>

<controller-port>8090</controller-port>

I see I have to add the following JVM startup command line properies:

-Dappdynamics.http.proxyHost=myproxy.db.com

-Dappdynamics.http.proxyPort=80

Q1: do I leave the controller-host and controller-port values as they are?

Q2: as I am using HTTP through the proxy, no SSL at the moment, do I need to setup proxy authentication? 

       -Dappdynamics.http.proxyUser

       -Dappdynamics.http.proxyPasswordFile

0 Karma

Arun_Dasetty
Super Champion

Hi Ketan,

Q1: Yes, controller-host and controller-port values must be updated with actual values of controller host and port as you listed earlier:

<controller-host>mycontroller.db.com</controller-host>

<controller-port>8090</controller-port>

Q2: If your proxy is non-authenticated or anonymous proxy you would "not" need to mention/pass args for proxyuser/pass, Hope that answers

0 Karma

Ketan_Mistry
New Member

Thanks got it working now.

0 Karma
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...