We have defined some management zones in our environments based on rule "Host-Group" name exists.
Now, we want to replicate the same on other environment and the challenge is, we are able to fetch the host-group entity ID (via API) but not the actual name of host-groups.
How can we get a list of all host-group names from the environment?
Solved! Go to Solution.
You should be able to query all the OneAgents API (/api/v1/oneagents) and extract the HostGroup Object: https://www.dynatrace.com/support/help/shortlink/api-oneagent-on-host#oneagents-get-response-hostgro...
Name -> "The name of the Dynatrace entity, displayed in the UI"
The name doesn't show anything?
actually in version 1.205 (even before) you will find the hostgroup identifier and name on the entity V1 API endpoint as well.