Controller (SaaS, On Premise)

cancel
Showing results for 
Search instead for 
Did you mean: 

Export app and machine agent status by Rest Api

Highlighted
Creator

Export app and machine agent status by Rest Api

Hi All,

 

we have a requirement for a project:

 

1. we need to extract all tiers and node details and dump into a CSV file

2. we need the app and machine agent status (agent up, down or % availability) details in the extraction

 

can anyone suggest some Rest API to extract the required data?

 

Regards,

Mandar Kadam

Tags (1)
Export app and machine agent status by Rest Api
4 REPLIES 4
Highlighted
Community Manager

Re: Extracting Node data like App & machine agent status by Rest Api

Hi Mandar,

 

I found this AppD Docs page that I think might help. Let me know if it does. 

 

https://docs.appdynamics.com/display/PRO45/Application+Model+API#ApplicationModelAPI-RetrieveNodeInf...


Thanks,
Ryan, AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Highlighted
Creator

Re: Extracting Node data like App & machine agent status by Rest Api

Hi Ryan,

 

Thanks for the reply,

But i have this already and this doesn't serve my goal, i need the status of the nodes like machine and App agent status which we see in tiers and nodes section like agent is 80% up or 0%. 

i want that data.

 

i have found some thing like agent availability metric from metric browser but while execute the API call i get 

<metric-items></metric-items> as output, there should be some value which i see in metric browser in controller that should be displayed but its nothing there.

 

can u or some one here can help in this issue.

 

Regards,

Mandar Kadam

Highlighted
Community Manager

Re: Extracting Node data like App & machine agent status by Rest Api

Hi @mandar.kadam,

 

Thanks for letting me know. If I find other resources I'll send them your way. In the meantime, let's see if the community can jump in and assist you here.


Thanks,
Ryan, AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Highlighted

Re: Extracting Node data like App & machine agent status by Rest Api

Hi Mandar, 

Have you found a solution to this?

 

I'm also looking into this topic, where i wan't to output the "Agent Availability" metric to a file. 

 

Have you tried something like this? https://docs.appdynamics.com/display/PRO45/Metric+and+Snapshot+API#MetricandSnapshotAPI-RetrieveMetr... 

 

Best regards, 

Fredrik