Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
05-03-2019 08:18 AM
Is there a Rest API that lists all the agents running in the controller? (Mainly the machine agents.)
Can I just see the agents by the nodes?
Solved! Go to Solution.
05-03-2019 08:34 AM
yes, take a look at this link.
https://docs.appdynamics.com/display/PRO45/AppDynamics+APIs
I use Postman with Basic Auth (my login details) to get the info, but you can build a Python or Java client to do it also.
05-03-2019 08:56 AM
Hello Thomas, I am making use of these APIs, however, I have not found any that I can see the agents in use or a list of them that are in use by the controller. The limit I found was to access each node. But that would exclude me from the machine agents.
Thanks
05-03-2019 11:05 AM
after you access the node and get the nodeid you can execute this rest call:
https://<your-appd-controller>/controller/rest/applications/<nodeid>/nodes
In the output you get a description of the nodes and there is a field
<machineAgentPresent>false</machineAgentPresent>
that tells you if there is a machine agent on that node.
But it doesn't give you any more details on the machineagent than whether or not it is installed and reporting into the controller.
Thomas
05-06-2019 12:50 AM
Ok. Thank you very much.
=)
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form