<?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 Problem with metric event in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Problem-with-metric-event/m-p/227681#M29432</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In one of my environments, I need to send an alert when metrics are not sent from Azure to Dynatrace. I have a basic integration with Azure configured and am collecting information about the VMs (CPU, memory, disk). Unfortunately, no metrics are available to inform me, for example, that a VM has been shut down or restarted. We have prepared a metrics event that has the "Alert in missing data" option enabled.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;builtin:cloud.azure.vm.cpuUsage:filter(and(not(in("dt.entity.azure_vms,entitySelector("type(azure_vm),tag(~"(Azure)V:XXXX~")"))))):splitBy("dt.entity.azure_vm")))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Of course, the threshold is 101% CPU utilisation so that it does not report other deviations.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zrzut ekranu 2023-11-5 o 18.45.55.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/15163iFFB8E7A26A3BBD65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zrzut ekranu 2023-11-5 o 18.45.55.png" alt="Zrzut ekranu 2023-11-5 o 18.45.55.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The preview shows correct operation. Unfortunately when running in a production environment the alerts are reported randomly and close a minute later. This happens for several vm's at the same time. The time windows are set as shown in the screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Obrazek PNG.jpeg" style="width: 316px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/15164iD479CFA1316CE9B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Obrazek PNG.jpeg" alt="Obrazek PNG.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Radek&lt;/P&gt;</description>
    <pubDate>Sun, 05 Nov 2023 17:59:28 GMT</pubDate>
    <dc:creator>radek_jasinski</dc:creator>
    <dc:date>2023-11-05T17:59:28Z</dc:date>
    <item>
      <title>Problem with metric event</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Problem-with-metric-event/m-p/227681#M29432</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In one of my environments, I need to send an alert when metrics are not sent from Azure to Dynatrace. I have a basic integration with Azure configured and am collecting information about the VMs (CPU, memory, disk). Unfortunately, no metrics are available to inform me, for example, that a VM has been shut down or restarted. We have prepared a metrics event that has the "Alert in missing data" option enabled.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;builtin:cloud.azure.vm.cpuUsage:filter(and(not(in("dt.entity.azure_vms,entitySelector("type(azure_vm),tag(~"(Azure)V:XXXX~")"))))):splitBy("dt.entity.azure_vm")))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Of course, the threshold is 101% CPU utilisation so that it does not report other deviations.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zrzut ekranu 2023-11-5 o 18.45.55.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/15163iFFB8E7A26A3BBD65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zrzut ekranu 2023-11-5 o 18.45.55.png" alt="Zrzut ekranu 2023-11-5 o 18.45.55.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The preview shows correct operation. Unfortunately when running in a production environment the alerts are reported randomly and close a minute later. This happens for several vm's at the same time. The time windows are set as shown in the screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Obrazek PNG.jpeg" style="width: 316px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/15164iD479CFA1316CE9B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Obrazek PNG.jpeg" alt="Obrazek PNG.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Radek&lt;/P&gt;</description>
      <pubDate>Sun, 05 Nov 2023 17:59:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Problem-with-metric-event/m-p/227681#M29432</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2023-11-05T17:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with metric event</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Problem-with-metric-event/m-p/227688#M29434</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/16832"&gt;@radek_jasinski&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Have you tried this metric for host restart?&amp;nbsp;&lt;SPAN&gt;builtin:host.uptime&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mizső&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 06:20:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Problem-with-metric-event/m-p/227688#M29434</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2023-11-06T06:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with metric event</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Problem-with-metric-event/m-p/227689#M29435</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/47783"&gt;@Mizső&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't tried it. I understand that this metric works for VM's in Azure?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 06:54:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Problem-with-metric-event/m-p/227689#M29435</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2023-11-06T06:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with metric event</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Problem-with-metric-event/m-p/227691#M29437</link>
      <description>&lt;P&gt;Unfortunately, this metric is not available in my configuration. I don't have OA installed on my hosts.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 07:37:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Problem-with-metric-event/m-p/227691#M29437</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2023-11-06T07:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with metric event</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Problem-with-metric-event/m-p/227692#M29438</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/16832"&gt;@radek_jasinski&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Sorry I missed this information.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mizső&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 07:53:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Problem-with-metric-event/m-p/227692#M29438</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2023-11-06T07:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with metric event</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Problem-with-metric-event/m-p/227712#M29440</link>
      <description>&lt;P&gt;I'm reporting the problem to support - I'll let you know if I find out anything.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 09:29:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Problem-with-metric-event/m-p/227712#M29440</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2023-11-06T09:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with metric event</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Problem-with-metric-event/m-p/227854#M29474</link>
      <description>&lt;P&gt;On the recommendation of support we have increased the value for violating samples to 24 and for the moment this has helped:)&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 12:24:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Problem-with-metric-event/m-p/227854#M29474</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2023-11-07T12:24:00Z</dc:date>
    </item>
  </channel>
</rss>

