Splunk AppDynamics

AppDynamics API for downloads

Graeme_Gilmour
Engager

I'm just starting to delve into the APIs, with an initial interest in automating the download and install of the Java Agent onto a Linux or Solaris host server.

My very early playing around has led me to be able to interrogate the controller to find the schema version....

curl --user me@myaccount:mypassword http://mycontroller:8090/controller/rest/configuration?name=schema\.version

 

... which returns...

 

<configuration-item>

  <name>schema.version</name>

  <value>004-002-007-001</value>

  <description>Current version of the controller&apos;s schema, used to track upgrades.</description>

  <updateable>false</updateable>

  <scope>cluster</scope>

</configuration-item>

Now that I can do some scripting to find out my controller version (i.e. 004-002-007-001), it'd be great to use that version number in a rest call to the downloads.

Are there a restful api endpoints for the 4.2.7.1 Java Agent for Sun and for IBM JVMs? 

Labels (1)
0 Karma
1 Solution

CommunityUser
Splunk Employee
Splunk Employee

CommunityUser
Splunk Employee
Splunk Employee

There's no rest interface to the AppDynamics downloads site as far as I can tell, you could however simply do a get as the filename can be determined:

https://aperture.appdynamics.com/download/prox/download-file/sun-jvm/4.2.7.1/AppServerAgent-4.2.7.1.... - this is the agent for the SUN

https://aperture.appdynamics.com/download/prox/download-file/ibm-jvm/4.2.7.1/AppServerAgent-ibm-4.2.... - this is the IBM agent

Alernatively, you could host the versions in your own internal network and simply get this by your own naming standard. You may want to deploy a later version of the agent (same major/minor version) than you are running on the controller so if you always copy/GET the latest 4.2.X version. This would require the versions/media to be maintained however.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Actually there is a way and its documented here:

https://docs.appdynamics.com/display/PRO42/Download+AppDynamics+Software

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...