<?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: Create an alert based on the disk consumption in the last 2 hours. in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Create-an-alert-based-on-the-disk-consumption-in-the-last-2/m-p/262494#M34670</link>
    <description>&lt;P&gt;Thanks &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58682"&gt;@AntonPineiro&lt;/a&gt;&amp;nbsp;... I'll try also with this approach.!&lt;/P&gt;</description>
    <pubDate>Thu, 14 Nov 2024 15:59:27 GMT</pubDate>
    <dc:creator>andresjavier</dc:creator>
    <dc:date>2024-11-14T15:59:27Z</dc:date>
    <item>
      <title>Create an alert based on the disk consumption in the last 2 hours.</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Create-an-alert-based-on-the-disk-consumption-in-the-last-2/m-p/262436#M34663</link>
      <description>&lt;P&gt;Hi Community!.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've a case where the disk D:\ of a bunch of Citrix Servers are being filled up quickly and sometimes when we're received the alert of disk usage it's too late and the services stop responding.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, we would like to setup an alert based on the % of disk usage in the last 2 hours. For example, if the disk usage increase in 40% in the last 2 hours trigger an alert.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They already have a similar alert configured in splunk, but I would like to do the same in Dynatrace.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See below the splunk alert currently in place:&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN&gt;index=perfmon host=jwppxdsh* sourcetype="Perfmon:FreeDiskSpace" instance="C:" OR instance="D:" counter="% Free Space" instance!=_* instance!=Hard* earliest=-2h&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN&gt;| stats min(Value) AS min,first(Value) AS first by host,instance&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN&gt;| eval Percent-Size-Change=first-min&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN&gt;| search Percent-Size-Change&amp;gt;=40&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 07:48:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Create-an-alert-based-on-the-disk-consumption-in-the-last-2/m-p/262436#M34663</guid>
      <dc:creator>andresjavier</dc:creator>
      <dc:date>2024-11-15T07:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create an alert based on the disk consumption in the last 2 hours.</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Create-an-alert-based-on-the-disk-consumption-in-the-last-2/m-p/262453#M34665</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use new &lt;A title="Disk Edge alerting" href="https://docs.dynatrace.com/docs/shortlink/host-monitoring#disk-edge" target="_blank" rel="noopener"&gt;Disk Edge alerting&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Instead 2 hours, set how many 10 seconds window should be under your threeshold.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 14:21:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Create-an-alert-based-on-the-disk-consumption-in-the-last-2/m-p/262453#M34665</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2024-11-14T14:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create an alert based on the disk consumption in the last 2 hours.</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Create-an-alert-based-on-the-disk-consumption-in-the-last-2/m-p/262462#M34666</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/51328"&gt;@andresjavier&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you can achieve this result by creating custom metric selector:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;builtin:host.disk.free:splitBy():sort(value(auto,descending)):timeshift(-2h)-builtin:host.disk.free:splitBy():sort(value(auto,descending))&lt;BR /&gt;and create custom alarm based on it:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michal_lewi_0-1731594489366.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24591i9DA05E3B7081CBA2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="michal_lewi_0-1731594489366.png" alt="michal_lewi_0-1731594489366.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;you can also check new feature&amp;nbsp;called “Disk Edge” which allows you to better evaluate disk performance.&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/dynatrace-api/environment-api/settings/schemas/builtin-infrastructure-disk-edge-anomaly-detectors" target="_blank"&gt;Settings API - Anomaly detection for infrastructure- Disk Edge schema table - Dynatrace Docs&lt;/A&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Michał&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 14:32:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Create-an-alert-based-on-the-disk-consumption-in-the-last-2/m-p/262462#M34666</guid>
      <dc:creator>DynaWiz</dc:creator>
      <dc:date>2024-11-14T14:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create an alert based on the disk consumption in the last 2 hours.</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Create-an-alert-based-on-the-disk-consumption-in-the-last-2/m-p/262492#M34669</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/4080"&gt;@DynaWiz&lt;/a&gt;&amp;nbsp;.... I've modified you query a little bit to include just the &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; Drive and it seems to be working... I'll configure the alerts and see how it goes!...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 15:57:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Create-an-alert-based-on-the-disk-consumption-in-the-last-2/m-p/262492#M34669</guid>
      <dc:creator>andresjavier</dc:creator>
      <dc:date>2024-11-14T15:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create an alert based on the disk consumption in the last 2 hours.</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Create-an-alert-based-on-the-disk-consumption-in-the-last-2/m-p/262494#M34670</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58682"&gt;@AntonPineiro&lt;/a&gt;&amp;nbsp;... I'll try also with this approach.!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 15:59:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Create-an-alert-based-on-the-disk-consumption-in-the-last-2/m-p/262494#M34670</guid>
      <dc:creator>andresjavier</dc:creator>
      <dc:date>2024-11-14T15:59:27Z</dc:date>
    </item>
  </channel>
</rss>

