<?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: Add avg host.availability to the table in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Add-Average-Host-Availability-to-Tables-Using-DQL/m-p/281101#M2265</link>
    <description>&lt;P&gt;fetch dt.entity.host_group&lt;BR /&gt;| lookup [&lt;BR /&gt;timeseries {&lt;BR /&gt;CPU=max(dt.host.cpu.usage),&lt;BR /&gt;Memory=max(dt.host.memory.usage),&lt;BR /&gt;Disk=max(dt.host.disk.used.percent),&lt;BR /&gt;TrafficIn=max(dt.host.net.nic.bytes_rx),&lt;BR /&gt;TrafficOut=max(dt.host.net.nic.bytes_tx)&lt;BR /&gt;}, by: {dt.entity.host_group}&lt;BR /&gt;| append [timeseries by:{dt.host_group.id}, availability_sum = sum(dt.host.availability)]&lt;BR /&gt;| fields CPU=arrayLast(CPU),&lt;BR /&gt;Memory=arrayLast(Memory),&lt;BR /&gt;Disk=arrayLast(Disk),&lt;BR /&gt;TrafficIn=arrayLast(TrafficIn),&lt;BR /&gt;TrafficOut=arrayLast(TrafficOut),&lt;BR /&gt;availability=availability_sum,&lt;BR /&gt;dt.entity.host_group&lt;BR /&gt;], sourceField:id,&lt;BR /&gt;lookupField:dt.entity.host_group,&lt;BR /&gt;fields: {availability, CPU, Memory, Disk},&lt;BR /&gt;executionOrder:leftFirst&lt;BR /&gt;| fieldsAdd status = if(CPU &amp;gt;= 90 or Memory &amp;gt;= 90 or Disk &amp;gt;= 90, "&lt;span class="lia-unicode-emoji" title=":stop_sign:"&gt;🛑&lt;/span&gt;", else: if(CPU &amp;gt;= 80 or Memory &amp;gt;= 80 or Disk &amp;gt;= 80, "🟡", else: "🟢"))&lt;BR /&gt;| sort entity.name desc&lt;BR /&gt;| sort status asc&lt;BR /&gt;| filter CPU &amp;gt;=10&lt;BR /&gt;| limit 100&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jul 2025 07:23:26 GMT</pubDate>
    <dc:creator>apichatpunkaewq</dc:creator>
    <dc:date>2025-07-09T07:23:26Z</dc:date>
    <item>
      <title>Add Average Host Availability to Tables Using DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-Average-Host-Availability-to-Tables-Using-DQL/m-p/281100#M2264</link>
      <description>&lt;P&gt;I would like to add the &lt;STRONG&gt;host availability&lt;/STRONG&gt; metric to the attached table to display &lt;STRONG&gt;CPU, memory, and disk performance&lt;/STRONG&gt;, as well as &lt;STRONG&gt;availability&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 10:32:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-Average-Host-Availability-to-Tables-Using-DQL/m-p/281100#M2264</guid>
      <dc:creator>apichatpunkaewq</dc:creator>
      <dc:date>2025-12-18T10:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Add avg host.availability to the table</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-Average-Host-Availability-to-Tables-Using-DQL/m-p/281101#M2265</link>
      <description>&lt;P&gt;fetch dt.entity.host_group&lt;BR /&gt;| lookup [&lt;BR /&gt;timeseries {&lt;BR /&gt;CPU=max(dt.host.cpu.usage),&lt;BR /&gt;Memory=max(dt.host.memory.usage),&lt;BR /&gt;Disk=max(dt.host.disk.used.percent),&lt;BR /&gt;TrafficIn=max(dt.host.net.nic.bytes_rx),&lt;BR /&gt;TrafficOut=max(dt.host.net.nic.bytes_tx)&lt;BR /&gt;}, by: {dt.entity.host_group}&lt;BR /&gt;| append [timeseries by:{dt.host_group.id}, availability_sum = sum(dt.host.availability)]&lt;BR /&gt;| fields CPU=arrayLast(CPU),&lt;BR /&gt;Memory=arrayLast(Memory),&lt;BR /&gt;Disk=arrayLast(Disk),&lt;BR /&gt;TrafficIn=arrayLast(TrafficIn),&lt;BR /&gt;TrafficOut=arrayLast(TrafficOut),&lt;BR /&gt;availability=availability_sum,&lt;BR /&gt;dt.entity.host_group&lt;BR /&gt;], sourceField:id,&lt;BR /&gt;lookupField:dt.entity.host_group,&lt;BR /&gt;fields: {availability, CPU, Memory, Disk},&lt;BR /&gt;executionOrder:leftFirst&lt;BR /&gt;| fieldsAdd status = if(CPU &amp;gt;= 90 or Memory &amp;gt;= 90 or Disk &amp;gt;= 90, "&lt;span class="lia-unicode-emoji" title=":stop_sign:"&gt;🛑&lt;/span&gt;", else: if(CPU &amp;gt;= 80 or Memory &amp;gt;= 80 or Disk &amp;gt;= 80, "🟡", else: "🟢"))&lt;BR /&gt;| sort entity.name desc&lt;BR /&gt;| sort status asc&lt;BR /&gt;| filter CPU &amp;gt;=10&lt;BR /&gt;| limit 100&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 07:23:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-Average-Host-Availability-to-Tables-Using-DQL/m-p/281101#M2265</guid>
      <dc:creator>apichatpunkaewq</dc:creator>
      <dc:date>2025-07-09T07:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Add avg host.availability to the table</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-Average-Host-Availability-to-Tables-Using-DQL/m-p/291783#M2920</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/71718"&gt;@apichatpunkaewq&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;SPAN&gt;I just wanted to check in and see if you still need help with this. If so, I’d be happy to look into it for you!&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know what works best for you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 10:32:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-Average-Host-Availability-to-Tables-Using-DQL/m-p/291783#M2920</guid>
      <dc:creator>IzabelaRokita</dc:creator>
      <dc:date>2025-12-18T10:32:22Z</dc:date>
    </item>
  </channel>
</rss>

