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.
14 Apr 2023 01:28 PM - edited 14 Apr 2023 01:36 PM
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
14 Apr 2023 08:35 PM
As @radek_jasinski states you can use this API Call
{{baseUrl}}/entities?pageSize=500&entitySelector=type(HOST),isMonitoringCandidate(true)
14 Apr 2023 08:37 PM
This is exactly what I meant 🙂