14 Apr 2023
01:18 PM
- last edited on
20 Apr 2023
01:04 PM
by
Ana_Kuzmenchuk
Hi,
Is there a way to view all Monitoring candidates? maybe extract them in a list ?
thanks
Craig
Solved! Go to Solution.
Hi,
You can use the Dynatrace API to get list all the hosts. You can choose state of this hosts (example: monitoring candidates (isMonitoringCandidate)).
https://www.dynatrace.com/support/help/dynatrace-api/environment-api/oneagent-on-host
Radek
As @radek_jasinski states you can use this API Call
{{baseUrl}}/entities?pageSize=500&entitySelector=type(HOST),isMonitoringCandidate(true)
This is exactly what I meant 🙂