<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get a list of all host-group names from the environment in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Get-a-list-of-all-host-group-names-from-the-environment/m-p/205821#M24868</link>
    <description>&lt;P&gt;See also Product Idea&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Dynatrace-product-ideas/Host-group-visualization-in-side-bar/idi-p/170138" target="_blank"&gt;Host group visualization in side bar - Dynatrace Community&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2023 10:31:44 GMT</pubDate>
    <dc:creator>fstekelenburg</dc:creator>
    <dc:date>2023-02-28T10:31:44Z</dc:date>
    <item>
      <title>Get a list of all host-group names from the environment</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Get-a-list-of-all-host-group-names-from-the-environment/m-p/118914#M12120</link>
      <description>&lt;P&gt;Hello Folks,&lt;/P&gt;&lt;P&gt;We have defined some management zones in our environments based on rule "Host-Group" name exists.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;How can we get a list of all host-group names from the environment?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AK&lt;/P&gt;</description>
      <pubDate>Sat, 14 Nov 2020 05:52:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Get-a-list-of-all-host-group-names-from-the-environment/m-p/118914#M12120</guid>
      <dc:creator>AK</dc:creator>
      <dc:date>2020-11-14T05:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Get a list of all host-group names from the environment</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Get-a-list-of-all-host-group-names-from-the-environment/m-p/118915#M12121</link>
      <description>&lt;P&gt;You should be able to query all the OneAgents API (/api/v1/oneagents) and extract the HostGroup Object: &lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/shortlink/api-oneagent-on-host#oneagents-get-response-hostgroup" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/api-oneagent-on-host#oneagents-get-response-hostgroup&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Name  -&amp;gt; "The name of the Dynatrace entity, displayed in the UI"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;"hostGroup": { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;"meId": "string", &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;STRONG&gt;"name": "string"&lt;/STRONG&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The name doesn't show anything?&lt;/P&gt;</description>
      <pubDate>Sat, 14 Nov 2020 06:59:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Get-a-list-of-all-host-group-names-from-the-environment/m-p/118915#M12121</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-14T06:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get a list of all host-group names from the environment</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Get-a-list-of-all-host-group-names-from-the-environment/m-p/118916#M12122</link>
      <description>&lt;P&gt;Yes it worked. Thanks Dante P. for attention to the query and quick response.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Nov 2020 07:32:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Get-a-list-of-all-host-group-names-from-the-environment/m-p/118916#M12122</guid>
      <dc:creator>AK</dc:creator>
      <dc:date>2020-11-14T07:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get a list of all host-group names from the environment</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Get-a-list-of-all-host-group-names-from-the-environment/m-p/118917#M12123</link>
      <description>&lt;P&gt;Hi Akshay,&lt;/P&gt;&lt;P&gt;actually in version 1.205 (even before) you will find the hostgroup identifier and name on the entity V1 API endpoint as well.&lt;/P&gt;&lt;P&gt;/e/&amp;lt;tenantid&amp;gt;/api/v1/entity/infrastructure/hosts&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/27318-1605556294383.png" /&gt;&lt;/P&gt;&lt;P&gt;Reinhard&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 19:51:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Get-a-list-of-all-host-group-names-from-the-environment/m-p/118917#M12123</guid>
      <dc:creator>r_weber</dc:creator>
      <dc:date>2020-11-16T19:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Get a list of all host-group names from the environment</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Get-a-list-of-all-host-group-names-from-the-environment/m-p/205821#M24868</link>
      <description>&lt;P&gt;See also Product Idea&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Dynatrace-product-ideas/Host-group-visualization-in-side-bar/idi-p/170138" target="_blank"&gt;Host group visualization in side bar - Dynatrace Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 10:31:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Get-a-list-of-all-host-group-names-from-the-environment/m-p/205821#M24868</guid>
      <dc:creator>fstekelenburg</dc:creator>
      <dc:date>2023-02-28T10:31:44Z</dc:date>
    </item>
  </channel>
</rss>

