Agent Properties Sample Configuration

The Java Agent does not include an agent.properties file by default. The file is a list of key-value pairs of system properties.

For example:

appdynamics.controller.hostName=mycontroller.example.com
appdynamics.controller.port=8090
  • The JVM treats properties from the agent.properties file the same as system properties. Values in agent.properties do not override any properties passed explicitly in the JVM startup script.
  • You can also include system properties not specific to Splunk AppDynamics in the agent.properties file. Values from agent.properties do not override values passed in the JVM startup script.
  • Do not include -D switch for keys in the agent.properties file.