cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to track number of agent connected

tarun_kumar_aga
Organizer

Hello,

How can we create chart for number of agents connected in dynatrace.

4 REPLIES 4

Dallas
Dynatrace Mentor
Dynatrace Mentor

Hi Tarun,

I believe the easiest way to do this would be to go through the UI in your environment and go to "deployment status" -> "show all hosts" -> "all Hosts" where it will tell you how many hosts you have connected.

If you have multiple environments you could also use this API endpoint to pull out the information programmatically:

https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/environment-api/topology-and-s...

-Dallas

ChadTurner
DynaMight Legend
DynaMight Legend

IF you are looking to make a "chart" of hosts that are connected, I would recommend using the API then exporting the json into excel and making a chart. You could also make a custom chart and base it off of CPU, from there export it to excel and graph it by number of hosts.

-Chad

justin_hogue
Dynatrace Advisor
Dynatrace Advisor

Hello,

Perhaps one way to chart this would be to create a dashboard and use the host health metric. Each host instance equates to a Dynatrace OneAgent installed in your environment.

Hope this helps!

ChadTurner
DynaMight Legend
DynaMight Legend

Freshly announced, there is now an EAP for a oneagent API. If you'd like to sign up for that EAP, click the following link: https://www.dynatrace.com/news/blog/manage-thousands-of-hosts-with-the-new-oneagent-on-a-host-rest-a...

This might help fulfill your request.

-Chad

Featured Posts