Sample Agent Configuration File
The following environment variables can be set in the AppDynamicsConfig.json
file:
-
APPDYNAMICS_CONTROLLER_HOST_NAME
-
APPDYNAMICS_CONTROLLER_PORT
-
APPDYNAMICS_CONTROLLER_SSL_ENABLED
-
APPDYNAMICS_CONTROLLER_SSL_CERTFILE
-
APPDYNAMICS_CONTROLLER_SSL_CERTDIR
The example file below demonstrates how to set these variables:
"controller":
{
"host": "ControllerHost",
"port": 8181,
"account": "customer1",
"password": "test",
"ssl": true,
"certdir": "/opt/appdynamics/dotnet/conf/",
"certfile": "/opt/appdynamics/dotnet/conf/cacerts.pem",
"enable_tls12": true,
"proxy":
{
"host" : "proxy",
"port" :900,
"authentication" :
{
"username" : "user",
"domain" : "domainname",
"password" :"pwd"
}
}
}