<?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 Updating hostgroup information in many hostst. in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Updating-hostgroup-information-in-many-hostst/m-p/211905#M26205</link>
    <description>&lt;P&gt;Hello, I would like to know if there is a way to update HOSTGROUP information in a way of script to many hosts. The hosts were never assigned any hostgroup. Is there a way to updated it using some kind of script?&lt;/P&gt;
&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 May 2023 06:45:25 GMT</pubDate>
    <dc:creator>alexrp25</dc:creator>
    <dc:date>2023-05-12T06:45:25Z</dc:date>
    <item>
      <title>Updating hostgroup information in many hostst.</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Updating-hostgroup-information-in-many-hostst/m-p/211905#M26205</link>
      <description>&lt;P&gt;Hello, I would like to know if there is a way to update HOSTGROUP information in a way of script to many hosts. The hosts were never assigned any hostgroup. Is there a way to updated it using some kind of script?&lt;/P&gt;
&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 06:45:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Updating-hostgroup-information-in-many-hostst/m-p/211905#M26205</guid>
      <dc:creator>alexrp25</dc:creator>
      <dc:date>2023-05-12T06:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Updating hostgroup information in many hostst.</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Updating-hostgroup-information-in-many-hostst/m-p/211907#M26206</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Yes it can be done using the APIs or even via the options in Manage &amp;gt; Deployment Status page&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 12:57:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Updating-hostgroup-information-in-many-hostst/m-p/211907#M26206</guid>
      <dc:creator>D_Miller</dc:creator>
      <dc:date>2023-05-11T12:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Updating hostgroup information in many hostst.</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Updating-hostgroup-information-in-many-hostst/m-p/211911#M26207</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/53629"&gt;@alexrp25&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;there are multiple ways to do that,&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/api-config-oneagent-on-host-group" target="_self"&gt;Host group API&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Or you can add the hosts to an existing host group or add a new host group using UI&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamed_Hamdy_1-1683810236846.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11608i069CC9077234886F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mohamed_Hamdy_1-1683810236846.png" alt="Mohamed_Hamdy_1-1683810236846.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamed_Hamdy_0-1683810202238.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11607i44E0B760038CDE11/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mohamed_Hamdy_0-1683810202238.png" alt="Mohamed_Hamdy_0-1683810202238.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Deployment Status - Select the required hosts - select modify host group from the remote configuration list - and choose the required hostgroup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or to use oneagentctl but you have to access the servers where oneagent is installed and execute the command&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/oneagentctl#host-groups" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/oneagentctl#host-groups&lt;/A&gt;&lt;/P&gt;&lt;P&gt;don't forget to add --restart-service&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 13:05:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Updating-hostgroup-information-in-many-hostst/m-p/211911#M26207</guid>
      <dc:creator>Mohamed_Hamdy</dc:creator>
      <dc:date>2023-05-11T13:05:38Z</dc:date>
    </item>
  </channel>
</rss>

