Splunk AppDynamics

Is there any restriction on controller file name controller-info.xml?

CommunityUser
Splunk Employee
Splunk Employee

Is there any restriction on controller file name controller-info.xml?

We are passing the controller file from our custom UI where user uploads the controller file.

We just wanted to know whether AppDynamics expects the controller file name should be controller-info.xml

or it can be any file name which can be passed to start the AppDynamics Java Agent at the backend?

Labels (3)
0 Karma

Sam_Hosseini
Explorer

Hi Nandy.S,

The AppDynamics Java Agent requires a valid controller-info.xml file to be present with the correct filename in the agent installation directory (conf and verXXX/conf directories).

We do not have a method of specifying a different file name for this configuration file, so trying to install the agent with a different named .xml configuration file is not supported.

However, you can specify the java agent configuration properties other ways, such as using environment variables or java system properties.

Please see the links below which cover these topics in detail:

https://docs.appdynamics.com/display/PRO45/Install+the+Java+Agent

https://docs.appdynamics.com/display/PRO45/Java+Agent+Directory+Structure

https://docs.appdynamics.com/display/PRO45/Java+Agent+Configuration+Properties

https://docs.appdynamics.com/display/PRO45/Use+Environment+Variables+for+Java+Agent+Settings

https://docs.appdynamics.com/display/PRO45/Use+System+Properties+for+Java+Agent+Settings

https://docs.appdynamics.com/display/PRO45/Automate+Java+Agent+Deployment

Regards,

Sam

millerep
Contributor

I'm no expert, but I'm pretty sure the javaagent.jar file expects it to be controller-info.xml. Not sure if it helps but I think there is a way to pass information as systems properties in the command line, something like:-javaagent <AGENT_HOME>/javaagent.jar=uniqueID=<YOUR_JVM_NAME>

0 Karma
Get Updates on the Splunk Community!

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...