<?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: Directory size monitoring in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Directory-size-monitoring/m-p/242463#M4311</link>
    <description>&lt;P&gt;If you are already using the file system monitoring extension and it does not bring you the necessary data, you must generate an API-ingested metric. If the host that contains the folder already has OneAgent, you can ingest from that computer with the DDUs included per host to generate the metric. Please create a script and use the command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;du -s YOUR_DIRECTORY or du -s /YOUR_DIRECTORY depending on your linux distro&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then you can parse the output and ingest it using the &lt;A href="https://docs.dynatrace.com/docs/shortlink/local-api" target="_blank" rel="noopener"&gt;Dynatrace OA Metrics API.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After that you can set a Metric Event to raise the alert you need.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2024 19:08:10 GMT</pubDate>
    <dc:creator>DanielS</dc:creator>
    <dc:date>2024-04-11T19:08:10Z</dc:date>
    <item>
      <title>Directory size monitoring</title>
      <link>https://community.dynatrace.com/t5/Extensions/Directory-size-monitoring/m-p/242455#M4310</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;I want to monitor the size of &lt;STRONG&gt;daram&lt;/STRONG&gt; folder or directory as mentioned below in Linux server.&lt;/P&gt;
&lt;P&gt;(eg : root/data/audit/kafkar/daram)&lt;/P&gt;
&lt;P&gt;I am getting the size of all files inside the &lt;STRONG&gt;daram &lt;/STRONG&gt;when I give&lt;STRONG&gt;&amp;nbsp;(root/data/audit/kafkar/daram/*)&amp;nbsp;&lt;/STRONG&gt;but not the exact &lt;STRONG&gt;daram &lt;/STRONG&gt;directory size.&lt;/P&gt;
&lt;P&gt;Please suggest a solution to the same as I wanted alert when&amp;nbsp;&lt;STRONG&gt;folder size increases/decreases.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I am using filesystem monitoring extension.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 07:24:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Directory-size-monitoring/m-p/242455#M4310</guid>
      <dc:creator>craft_help</dc:creator>
      <dc:date>2024-04-15T07:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Directory size monitoring</title>
      <link>https://community.dynatrace.com/t5/Extensions/Directory-size-monitoring/m-p/242463#M4311</link>
      <description>&lt;P&gt;If you are already using the file system monitoring extension and it does not bring you the necessary data, you must generate an API-ingested metric. If the host that contains the folder already has OneAgent, you can ingest from that computer with the DDUs included per host to generate the metric. Please create a script and use the command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;du -s YOUR_DIRECTORY or du -s /YOUR_DIRECTORY depending on your linux distro&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then you can parse the output and ingest it using the &lt;A href="https://docs.dynatrace.com/docs/shortlink/local-api" target="_blank" rel="noopener"&gt;Dynatrace OA Metrics API.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After that you can set a Metric Event to raise the alert you need.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 19:08:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Directory-size-monitoring/m-p/242463#M4311</guid>
      <dc:creator>DanielS</dc:creator>
      <dc:date>2024-04-11T19:08:10Z</dc:date>
    </item>
  </channel>
</rss>

