Splunk AppDynamics

JVM agent does not work

Kong_xiaohui
New Member

Hi,

I have installed the javaagent on my Linux server, and I append javaagent script after my startup script.

The whole script: "$JAVA_HOME/bin/java -jar /tmp/my-api.jar -ms64m -mx256m -javaagent:/opt/appdyn/javaagent/4.4.3.22593/javaagent.jar -Dappdynamics.controller.ssl.enabled=true -Dappdynamics.force.default.ssl.certificate.validation=true -Dappdynamics.agent.accountName=customer1 -Dappdynamics.agent.accountAccessKey=........ -Dappdynamics.controller.hostName=........ -Dappdynamics.controller.port=..... -Dappdynamics.agent.applicationName=........ -Dappdynamics.agent.tierName=my-api -Dappdynamics.agent.nodeName=_my-api"

my-api is a spring boot web application. After running this script, seems there is no log generated.

Labels (1)
0 Karma

Allan_Schiebold
Communicator

Hi. There is likely an error in the application logs about the app being unable to call the agent. This could be due to permissions issues. 

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 ...