<?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: OneAgent: remove previous versions in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119669#M12598</link>
    <description>&lt;P&gt;"enabled" pertains to whether the monitoring of the host is enabled or not, in the Web UI: "Host settings &amp;gt; General &amp;gt; Monitor this host"&lt;/P&gt;&lt;P&gt;OneAgent processes will be running regardless if monitoring is enabled or not.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Dec 2020 07:29:49 GMT</pubDate>
    <dc:creator>Tomasz_Gajger</dc:creator>
    <dc:date>2020-12-14T07:29:49Z</dc:date>
    <item>
      <title>OneAgent: remove previous versions</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119661#M12590</link>
      <description>We have the oneagent installed with the autoupdate enabled. Just found that the oneagent keeps all previous versions for ever. Are there any solution, key, flag that could help to avoid a such  behavior and remove them automatically after the update is finished</description>
      <pubDate>Thu, 03 Dec 2020 15:55:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119661#M12590</guid>
      <dc:creator>yury_kostsik</dc:creator>
      <dc:date>2020-12-03T15:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent: remove previous versions</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119662#M12591</link>
      <description>&lt;P&gt;Where exactly are you seeing that? If we kept every version on the monitored hosts everyone would quickly be running out of space.&lt;BR /&gt;&lt;BR /&gt;&lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-oneagent/oneagent-aging-mechanism/" target="_blank"&gt;https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-oneagent/oneagent-aging-mechanism/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Do you mean on the Managed cluster side?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 16:17:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119662#M12591</guid>
      <dc:creator>JamesKitson</dc:creator>
      <dc:date>2020-12-03T16:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent: remove previous versions</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119663#M12592</link>
      <description>&lt;P&gt;In the AWS EC2 instances, that we use&lt;/P&gt;&lt;P&gt;For instance:&lt;/P&gt;&lt;PRE&gt;[root]# ls -lah /opt/dynatrace/oneagent/agent/bin/&lt;BR /&gt;drwxr-xr-x. 6 root user 82 Jun &amp;nbsp;3 &amp;nbsp;2020 1.193.159.20200602-190835&lt;BR /&gt;drwxr-xr-x. 6 root user 82 Jun 30 23:10 1.195.139.20200701-001924&lt;BR /&gt;drwxr-xr-x. 6 root user 82 Jul &amp;nbsp;7 15:31 1.195.148.20200707-160955&lt;BR /&gt;drwxr-xr-x. 6 root user 82 Jul 20 14:55 1.195.161.20200720-160625&lt;BR /&gt;drwxr-xr-x. 6 root user 82 Jul 23 13:27 1.197.134.20200723-143315&lt;BR /&gt;drwxr-xr-x. 6 root user 82 Aug 21 15:42 1.199.101.20200821-165422&lt;BR /&gt;lrwxrwxrwx. 1 root root &amp;nbsp; 25 Aug 26 08:17 current -&amp;gt; 1.199.101.20200821-165422&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Dec 2020 16:24:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119663#M12592</guid>
      <dc:creator>yury_kostsik</dc:creator>
      <dc:date>2020-12-03T16:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent: remove previous versions</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119664#M12593</link>
      <description>&lt;P&gt;So what is in those directories is described here:&lt;BR /&gt;&lt;BR /&gt;&lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/shortlink/oneagent-aging-mechanism#installation-bin-directory" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/oneagent-aging-mechanism#installation-bin-directory&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It is not the full agent just some of the small pieces that are used for injection into processes. The only item of note in their is under the 'any' subdirectory of each of the versions. It shows we keep the 10 most recent (plus the current) versions of that so it is not forever.&lt;BR /&gt;&lt;BR /&gt;I'll update if I find any way to control this behavior but at this time I don't think that is possible.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 20:56:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119664#M12593</guid>
      <dc:creator>JamesKitson</dc:creator>
      <dc:date>2020-12-03T20:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent: remove previous versions</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119665#M12594</link>
      <description>&lt;P&gt;Hi James, not sure that's correct&lt;/P&gt;&lt;PRE&gt;du -sh /opt/dynatrace/oneagent/agent/bin/&lt;BR /&gt;4.1G &amp;nbsp; &amp;nbsp;/opt/dynatrace/oneagent/agent/bin/&lt;/PRE&gt;&lt;P&gt;And moreover, there were much many versions, but I just deleted them&lt;/P&gt;&lt;PRE&gt;drwxr-xr-x. 3 root user 17 Mar 18 &amp;nbsp;2019 1.163.277.20190318-125829&lt;BR /&gt;drwxr-xr-x. 3 root user 17 Apr &amp;nbsp;2 &amp;nbsp;2019 1.165.211.20190402-143336&lt;BR /&gt;drwxr-xr-x. 3 root user 17 Apr &amp;nbsp;8 &amp;nbsp;2019 1.165.227.20190408-130003&lt;BR /&gt;drwxr-xr-x. 3 root user 17 Apr 17 &amp;nbsp;2019 1.165.238.20190417-081639&lt;BR /&gt;drwxr-xr-x. 3 root user 17 May &amp;nbsp;2 &amp;nbsp;2019 1.167.159.20190502-150150&lt;BR /&gt;drwxr-xr-x. 3 root user 17 May &amp;nbsp;8 &amp;nbsp;2019 1.167.176.20190508-104947&lt;BR /&gt;drwxr-xr-x. 3 root user 17 May 29 &amp;nbsp;2019 1.169.172.20190529-101847&lt;BR /&gt;drwxr-xr-x. 3 root user 17 Jun 25 &amp;nbsp;2019 1.171.180.20190625-172111&lt;BR /&gt;drwxr-xr-x. 3 root user 17 Jul 19 &amp;nbsp;2019 1.171.252.20190719-134816&lt;BR /&gt;drwxr-xr-x. 3 root user 17 Aug &amp;nbsp;2 &amp;nbsp;2019 1.173.295.20190802-111637&lt;BR /&gt;drwxr-xr-x. 3 root user 17 Aug &amp;nbsp;9 &amp;nbsp;2019 1.173.314.20190809-152259&lt;BR /&gt;drwxr-xr-x. 3 root user 17 Aug 26 &amp;nbsp;2019 1.173.358.20190826-182424&lt;BR /&gt;drwxr-xr-x. 3 root user 17 Sep 10 &amp;nbsp;2019 1.175.240.20190910-170422&lt;BR /&gt;drwxr-xr-x. 3 root user 17 Sep 20 &amp;nbsp;2019 1.175.270.20190920-173335&lt;BR /&gt;drwxr-xr-x. 3 root user 17 Oct 10 &amp;nbsp;2019 1.177.204.20191010-030448&lt;BR /&gt;drwxr-xr-x. 3 root user 17 Oct 11 &amp;nbsp;2019 1.177.216.20191011-134546&lt;BR /&gt;drwxr-xr-x. 3 root user 17 Nov &amp;nbsp;6 &amp;nbsp;2019 1.179.177.20191106-102431&lt;BR /&gt;drwxr-xr-x. 3 root user 17 Nov 13 &amp;nbsp;2019 1.179.187.20191113-095744&lt;BR /&gt;drwxr-xr-x. 3 root user 17 Dec 11 &amp;nbsp;2019 1.181.154.20191211-083443&lt;BR /&gt;drwxr-xr-x. 6 root user 82 Apr 23 09:12 1.189.205.20200423-102214&lt;BR /&gt;drwxr-xr-x. 6 root user 82 May 14 09:35 1.191.217.20200514-103405&lt;BR /&gt;drwxr-xr-x. 6 root user 82 May 26 13:44 1.191.239.20200526-145639&lt;BR /&gt;drwxr-xr-x. 6 root user 82 Jun &amp;nbsp;3 07:30 1.193.159.20200602-190835&lt;BR /&gt;drwxr-xr-x. 6 root user 82 Jun 30 23:10 1.195.139.20200701-001924&lt;BR /&gt;drwxr-xr-x. 6 root user 82 Jul &amp;nbsp;7 15:31 1.195.148.20200707-160955&lt;BR /&gt;drwxr-xr-x. 6 root user 82 Jul 20 14:55 1.195.161.20200720-160625&lt;BR /&gt;drwxr-xr-x. 6 root user 82 Jul 23 13:27 1.197.134.20200723-143315&lt;BR /&gt;drwxr-xr-x. 6 root user 82 Aug 21 15:42 1.199.101.20200821-165422&lt;BR /&gt;lrwxrwxrwx. 1 root root &amp;nbsp; 25 Aug 26 08:17 current -&amp;gt; 1.199.101.20200821-165422&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Dec 2020 05:58:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119665#M12594</guid>
      <dc:creator>yury_kostsik</dc:creator>
      <dc:date>2020-12-04T05:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent: remove previous versions</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119666#M12595</link>
      <description>After checking internally, it seems this behavior is most often attributed to monitoring being deactivated on the host in which case the aging operations do not occur.&lt;P&gt;&lt;BR /&gt;If you do have monitoring active on this host (or others) and still see this a support case would be best so they can take a closer look at what is happening.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 14:56:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119666#M12595</guid>
      <dc:creator>JamesKitson</dc:creator>
      <dc:date>2020-12-04T14:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent: remove previous versions</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119667#M12596</link>
      <description>&lt;P&gt;Hi, the problem you're experiencing is being tracked in the following product idea: &lt;A rel="noopener noreferrer" href="https://community.dynatrace.com/idea/243195/oneagent-update-cleanup.html" target="_blank"&gt;https://community.dynatrace.com/idea/243195/oneagent-update-cleanup.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You will also find the explanation of the behavior there - as James mentioned, it's caused by agent being deactivated and having auto-updates enabled at the same time.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 14:10:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119667#M12596</guid>
      <dc:creator>Tomasz_Gajger</dc:creator>
      <dc:date>2023-10-16T14:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent: remove previous versions</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119668#M12597</link>
      <description>&lt;P&gt;Could you clarify please, what it means enabled?&lt;BR /&gt;If I can see my machine in the DT dashboard?&lt;BR /&gt;and if I can see that process on my machine?&lt;/P&gt;&lt;PRE&gt;ps -ef | grep dynatracroot &amp;nbsp; &amp;nbsp; 18076 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 Aug26 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:35:47 /opt/dynatrace/oneagent/agent/lib64/oneagentwatchdog -bg -config=/opt/dynatrace/oneagent/agent/conf/watchdog.conf&lt;/PRE&gt;&lt;P&gt;If that's right, I don't see any difference between machines that are added into the monitoring pool and don't.&lt;/P&gt;&lt;P&gt;all of them have kept all the versions since the first installation&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 07:07:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119668#M12597</guid>
      <dc:creator>yury_kostsik</dc:creator>
      <dc:date>2020-12-14T07:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent: remove previous versions</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119669#M12598</link>
      <description>&lt;P&gt;"enabled" pertains to whether the monitoring of the host is enabled or not, in the Web UI: "Host settings &amp;gt; General &amp;gt; Monitor this host"&lt;/P&gt;&lt;P&gt;OneAgent processes will be running regardless if monitoring is enabled or not.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 07:29:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/119669#M12598</guid>
      <dc:creator>Tomasz_Gajger</dc:creator>
      <dc:date>2020-12-14T07:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent: remove previous versions</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/178101#M19484</link>
      <description>&lt;P&gt;Is your issue solved?&lt;BR /&gt;i am curious know if so what the solution they have provided to clean up the old oneagent softwares which is lying on the instances&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 04:34:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-remove-previous-versions/m-p/178101#M19484</guid>
      <dc:creator>ThatiSrikanth</dc:creator>
      <dc:date>2021-12-28T04:34:53Z</dc:date>
    </item>
  </channel>
</rss>

