<?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: Monitor ie 3 http request in 1 synthetic monitor and only get alerted if all fails in Synthetic Monitoring</title>
    <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Monitor-ie-3-http-request-in-1-synthetic-monitor-and-only-get/m-p/194474#M1512</link>
    <description>&lt;P&gt;Can you do what you want with &lt;A href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/problem-detection-and-analysis/problem-detection/metric-events-for-alerting" target="_self"&gt;Custom events for alerting?&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Create 3 separate HTTP Monitors.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) For 'warning' when only 1 endpoint fails, use either the global or local outage settings in the HTTP Monitors. See &lt;A href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/synthetic-monitoring/browser-monitors/configure-browser-monitors#outage-handling" target="_self"&gt;docs&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;2) For the All down problem, create a 'custom event for alerting'. I tagged all three of my HTTP Monitors with 'HMA' and then used this metric expression to combine them.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;builtin:synthetic.http.resultStatus:filter(and(eq("Result status",FAILURE),in("dt.entity.http_check",entitySelector("type(http_check),tag(~"HMA~")")))):splitBy():count:auto:sort(value(avg,descending)):limit(100)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I then set the static threshold to alert when the count went over 2.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HannahM_0-1663234655020.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/7576i471589FD7C8DF0F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HannahM_0-1663234655020.png" alt="HannahM_0-1663234655020.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Sep 2022 09:37:47 GMT</pubDate>
    <dc:creator>HannahM</dc:creator>
    <dc:date>2022-09-15T09:37:47Z</dc:date>
    <item>
      <title>Monitor ie 3 http request in 1 synthetic monitor and only get alerted if all fails</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Monitor-ie-3-http-request-in-1-synthetic-monitor-and-only-get/m-p/194351#M1508</link>
      <description>&lt;P&gt;If I have 1 synthetic monitor with 2 or more http requests, I would like to be able to only generate a problem if all fails, because they are part of a loadblancer, and I would like to get a warning if one of the requests fails.&lt;/P&gt;&lt;P&gt;example.&lt;/P&gt;&lt;P&gt;I have 3 urls:&lt;/P&gt;&lt;P&gt;test1.com&lt;/P&gt;&lt;P&gt;test2.com&lt;/P&gt;&lt;P&gt;test3.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If all 3 fails I would like a problem generated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If only 1-2 of the 3 fails I want to see it as a warning but not a problem as everything is still working.&lt;/P&gt;&lt;P&gt;As it is right now I can only do it on locations.&lt;/P&gt;&lt;P&gt;So can it be put as an enhancement request ?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bjarne&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 17:06:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Monitor-ie-3-http-request-in-1-synthetic-monitor-and-only-get/m-p/194351#M1508</guid>
      <dc:creator>bjamy</dc:creator>
      <dc:date>2022-09-13T17:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor ie 3 http request in 1 synthetic monitor and only get alerted if all fails</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Monitor-ie-3-http-request-in-1-synthetic-monitor-and-only-get/m-p/194474#M1512</link>
      <description>&lt;P&gt;Can you do what you want with &lt;A href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/problem-detection-and-analysis/problem-detection/metric-events-for-alerting" target="_self"&gt;Custom events for alerting?&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Create 3 separate HTTP Monitors.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) For 'warning' when only 1 endpoint fails, use either the global or local outage settings in the HTTP Monitors. See &lt;A href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/synthetic-monitoring/browser-monitors/configure-browser-monitors#outage-handling" target="_self"&gt;docs&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;2) For the All down problem, create a 'custom event for alerting'. I tagged all three of my HTTP Monitors with 'HMA' and then used this metric expression to combine them.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;builtin:synthetic.http.resultStatus:filter(and(eq("Result status",FAILURE),in("dt.entity.http_check",entitySelector("type(http_check),tag(~"HMA~")")))):splitBy():count:auto:sort(value(avg,descending)):limit(100)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I then set the static threshold to alert when the count went over 2.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HannahM_0-1663234655020.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/7576i471589FD7C8DF0F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HannahM_0-1663234655020.png" alt="HannahM_0-1663234655020.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 09:37:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Monitor-ie-3-http-request-in-1-synthetic-monitor-and-only-get/m-p/194474#M1512</guid>
      <dc:creator>HannahM</dc:creator>
      <dc:date>2022-09-15T09:37:47Z</dc:date>
    </item>
  </channel>
</rss>

