<?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>article Dynatrace Managed - Linux file system &amp;quot;/var/opt/dynatrace-managed/agents&amp;quot; is taking a lot of space. What to do? in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/Dynatrace-Managed-Linux-file-system-quot-var-opt-dynatrace/ta-p/213098</link>
    <description>&lt;H4&gt;Dynatrace Managed cluster nodes are filled with old downloaded packages in&amp;nbsp;"&lt;U&gt;/var/opt/dynatrace-managed/agents&lt;/U&gt;". It is totally filled with 50 GB+ data. What to do?&amp;nbsp;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Note that it not recommended to directly delete the old packages from this directory. Installers in "/var/opt/dynatrace-managed/agents" will be automatically deleted when they are no longer in use and all the running agents are updated properly. There is a 30 days grace period before the actual deletion will happen.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also note that for automatic deletion to work, &lt;U&gt;there should be automatic updates everywhere&lt;/U&gt; - Cluster, Oneagent and ActiveGates. If there is just one instance which is using some lower version it will not get deleted automatically. If you will look in /var/opt/dynatrace-managed/agents you will see folders by release versions. If something inside it, is being used, it will not auto-delete after 30 days. So, just automatic update is not enough - lower versions should not be in active state on any machine.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;U&gt;If cluster is not up to date or has manual update set up, the other way to tackle is to exclude the packages manually from CMC:&lt;/U&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CMC.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11857i8BE419A22EE9E386/image-size/large?v=v2&amp;amp;px=999" role="button" title="CMC.png" alt="CMC.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;We have this feature (Self-service update packages management) enabled in CMC since Dynatrace Managed 1.216&lt;/EM&gt;&amp;nbsp;:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/release-notes-managed-sprint-216#cluster-management-console" target="_blank" rel="noopener noreferrer"&gt;https://www.dynatrace.com/support/help/shortlink/release-notes-managed-sprint-216#cluster-management-console&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I hope it helps in managing the&amp;nbsp;"/var/opt/dynatrace-managed/agents" and cleaning up some space on Managed Cluster nodes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you require more assistance please get in touch with our product/tech support.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 25 May 2023 05:04:26 GMT</pubDate>
    <dc:creator>nadeem_m</dc:creator>
    <dc:date>2023-05-25T05:04:26Z</dc:date>
    <item>
      <title>Dynatrace Managed - Linux file system "/var/opt/dynatrace-managed/agents" is taking a lot of space. What to do?</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Dynatrace-Managed-Linux-file-system-quot-var-opt-dynatrace/ta-p/213098</link>
      <description>&lt;H4&gt;Dynatrace Managed cluster nodes are filled with old downloaded packages in&amp;nbsp;"&lt;U&gt;/var/opt/dynatrace-managed/agents&lt;/U&gt;". It is totally filled with 50 GB+ data. What to do?&amp;nbsp;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Note that it not recommended to directly delete the old packages from this directory. Installers in "/var/opt/dynatrace-managed/agents" will be automatically deleted when they are no longer in use and all the running agents are updated properly. There is a 30 days grace period before the actual deletion will happen.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also note that for automatic deletion to work, &lt;U&gt;there should be automatic updates everywhere&lt;/U&gt; - Cluster, Oneagent and ActiveGates. If there is just one instance which is using some lower version it will not get deleted automatically. If you will look in /var/opt/dynatrace-managed/agents you will see folders by release versions. If something inside it, is being used, it will not auto-delete after 30 days. So, just automatic update is not enough - lower versions should not be in active state on any machine.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;U&gt;If cluster is not up to date or has manual update set up, the other way to tackle is to exclude the packages manually from CMC:&lt;/U&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CMC.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11857i8BE419A22EE9E386/image-size/large?v=v2&amp;amp;px=999" role="button" title="CMC.png" alt="CMC.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;We have this feature (Self-service update packages management) enabled in CMC since Dynatrace Managed 1.216&lt;/EM&gt;&amp;nbsp;:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/release-notes-managed-sprint-216#cluster-management-console" target="_blank" rel="noopener noreferrer"&gt;https://www.dynatrace.com/support/help/shortlink/release-notes-managed-sprint-216#cluster-management-console&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I hope it helps in managing the&amp;nbsp;"/var/opt/dynatrace-managed/agents" and cleaning up some space on Managed Cluster nodes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you require more assistance please get in touch with our product/tech support.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 05:04:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Dynatrace-Managed-Linux-file-system-quot-var-opt-dynatrace/ta-p/213098</guid>
      <dc:creator>nadeem_m</dc:creator>
      <dc:date>2023-05-25T05:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Managed - Linux file system "/var/opt/dynatrace-managed/agents" is taking a lot of space. What to do?</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Dynatrace-Managed-Linux-file-system-quot-var-opt-dynatrace/tac-p/213128#M230</link>
      <description>&lt;P&gt;great write up&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/47494"&gt;@nadeem_m&lt;/a&gt;&amp;nbsp;thanks for sharing this!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 11:46:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Dynatrace-Managed-Linux-file-system-quot-var-opt-dynatrace/tac-p/213128#M230</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2023-05-25T11:46:04Z</dc:date>
    </item>
  </channel>
</rss>

