<?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 I think that builtin:host.disk.usedPct metric is wrong because the total space metric is wrong. in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/I-think-that-builtin-host-disk-usedPct-metric-is-wrong-because/m-p/240018#M4219</link>
    <description>&lt;P&gt;Seeing directly the sizes of a mounted point of a disk in my host, it gives me some stats:&lt;/P&gt;&lt;P&gt;84.17% used disk space,&lt;/P&gt;&lt;P&gt;2,412383548915386 TiB disk used (2652443762688 bytes / 1024 / 1024 / 1024 /1024)&lt;/P&gt;&lt;P&gt;2,86578132212162 TiB disk used (3150959886336 bytes / 1024 / 1024 / 1024 /1024)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="itamarmesa_0-1710501909593.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18303i8EE881342B0EE498/image-size/large?v=v2&amp;amp;px=999" role="button" title="itamarmesa_0-1710501909593.png" alt="itamarmesa_0-1710501909593.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;While in Dynatrace, the same disk using the builtin metric:&lt;/P&gt;&lt;P&gt;(builtin:host.disk.usedPct:filter(and(or(in("dt.entity.disk",entitySelector("type(disk),not(tag(~"WarningDisk:90~"))")))),series(avg,and(ge(85),le(90)))):splitBy("dt.entity.disk","dt.entity.host"):parents):filter(eq("dt.entity.disk",DiskA),eq("dt.entity.host",HostA))&lt;/P&gt;&lt;P&gt;gives me a 85.43%, which is wrong.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="itamarmesa_1-1710501983741.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18304i9DEC010E168CA6D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="itamarmesa_1-1710501983741.png" alt="itamarmesa_1-1710501983741.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also, seeing the metrics in the host makes everything clear:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="itamarmesa_2-1710502138733.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18305i2B54CC5C1E61A41B/image-size/large?v=v2&amp;amp;px=999" role="button" title="itamarmesa_2-1710502138733.png" alt="itamarmesa_2-1710502138733.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can see that the pct calculation fails probably because the total space is wrong, because 2,41... / 2,82... TiB ~ 85,43%.&lt;/P&gt;&lt;P&gt;Why is this? Is it that the agent wrong? Is it that the total space calculation is wrong?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2024 11:39:37 GMT</pubDate>
    <dc:creator>itamarmesa</dc:creator>
    <dc:date>2024-03-15T11:39:37Z</dc:date>
    <item>
      <title>I think that builtin:host.disk.usedPct metric is wrong because the total space metric is wrong.</title>
      <link>https://community.dynatrace.com/t5/Alerting/I-think-that-builtin-host-disk-usedPct-metric-is-wrong-because/m-p/240018#M4219</link>
      <description>&lt;P&gt;Seeing directly the sizes of a mounted point of a disk in my host, it gives me some stats:&lt;/P&gt;&lt;P&gt;84.17% used disk space,&lt;/P&gt;&lt;P&gt;2,412383548915386 TiB disk used (2652443762688 bytes / 1024 / 1024 / 1024 /1024)&lt;/P&gt;&lt;P&gt;2,86578132212162 TiB disk used (3150959886336 bytes / 1024 / 1024 / 1024 /1024)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="itamarmesa_0-1710501909593.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18303i8EE881342B0EE498/image-size/large?v=v2&amp;amp;px=999" role="button" title="itamarmesa_0-1710501909593.png" alt="itamarmesa_0-1710501909593.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;While in Dynatrace, the same disk using the builtin metric:&lt;/P&gt;&lt;P&gt;(builtin:host.disk.usedPct:filter(and(or(in("dt.entity.disk",entitySelector("type(disk),not(tag(~"WarningDisk:90~"))")))),series(avg,and(ge(85),le(90)))):splitBy("dt.entity.disk","dt.entity.host"):parents):filter(eq("dt.entity.disk",DiskA),eq("dt.entity.host",HostA))&lt;/P&gt;&lt;P&gt;gives me a 85.43%, which is wrong.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="itamarmesa_1-1710501983741.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18304i9DEC010E168CA6D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="itamarmesa_1-1710501983741.png" alt="itamarmesa_1-1710501983741.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also, seeing the metrics in the host makes everything clear:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="itamarmesa_2-1710502138733.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18305i2B54CC5C1E61A41B/image-size/large?v=v2&amp;amp;px=999" role="button" title="itamarmesa_2-1710502138733.png" alt="itamarmesa_2-1710502138733.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can see that the pct calculation fails probably because the total space is wrong, because 2,41... / 2,82... TiB ~ 85,43%.&lt;/P&gt;&lt;P&gt;Why is this? Is it that the agent wrong? Is it that the total space calculation is wrong?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 11:39:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/I-think-that-builtin-host-disk-usedPct-metric-is-wrong-because/m-p/240018#M4219</guid>
      <dc:creator>itamarmesa</dc:creator>
      <dc:date>2024-03-15T11:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: I think that builtin:host.disk.usedPct metric is wrong because the total space metric is wrong.</title>
      <link>https://community.dynatrace.com/t5/Alerting/I-think-that-builtin-host-disk-usedPct-metric-is-wrong-because/m-p/241199#M4271</link>
      <description>&lt;P&gt;It looks like the metric that you are getting is set to be an average could this be the discrepancy? Have you changed the aggregations to see if the data set comes back more inline with what you are expecting?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 12:34:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/I-think-that-builtin-host-disk-usedPct-metric-is-wrong-because/m-p/241199#M4271</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2024-03-27T12:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: I think that builtin:host.disk.usedPct metric is wrong because the total space metric is wrong.</title>
      <link>https://community.dynatrace.com/t5/Alerting/I-think-that-builtin-host-disk-usedPct-metric-is-wrong-because/m-p/241226#M4277</link>
      <description>&lt;P&gt;Actually I found out what was the discrepancy, I just didn't share it here.&lt;/P&gt;&lt;P&gt;For Dynatrace, the amount of Disk total is the disk available + disk occupied, which is actually not the total, but the total disk usable, since It doesn't take into account the non available part of the disk. I mean, It is okay now that I know, but since Zabbix's default percentage for disks would take into consideration the actual total... I just wanted to know if there was some failure in Dynatrace or something.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 14:29:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/I-think-that-builtin-host-disk-usedPct-metric-is-wrong-because/m-p/241226#M4277</guid>
      <dc:creator>itamarmesa</dc:creator>
      <dc:date>2024-03-27T14:29:20Z</dc:date>
    </item>
  </channel>
</rss>

