# Monitor ie 3 http request in 1 synthetic monitor and only get alerted if all fails

**URL:** <https://community.dynatrace.com/t/monitor-ie-3-http-request-in-1-synthetic-monitor-and-only-get-alerted-if-all-fails/36518>\
**Category:** Synthetic Monitoring\
**Tags:** synthetic-monitoring\
**Created:** [September 13, 2022, 5:06pm UTC](https://community.dynatrace.com/t/monitor-ie-3-http-request-in-1-synthetic-monitor-and-only-get-alerted-if-all-fails/36518 "2022-09-13T17:06:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjamy](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@bjamy](https://community.dynatrace.com/u/bjamy)\
**Post date:** [September 13, 2022, 5:06pm UTC](https://community.dynatrace.com/t/monitor-ie-3-http-request-in-1-synthetic-monitor-and-only-get-alerted-if-all-fails/36518/1 "2022-09-13T17:06:49Z")

</div>

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.

example.

I have 3 urls:

> **[test1.com — slightly better than test2](https://test1.com)**
>
> test1.com — All your test are belong to us. Built for testing. Safe for demos.

[test2.com](http://test2.com)

[test3.com](http://test3.com)

If all 3 fails I would like a problem generated

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.

As it is right now I can only do it on locations.

So can it be put as an enhancement request ?

Regards

Bjarne

---

<div class="post-metadata">

**Author:** ![hannahmac](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [September 15, 2022, 9:37am UTC](https://community.dynatrace.com/t/monitor-ie-3-http-request-in-1-synthetic-monitor-and-only-get-alerted-if-all-fails/36518/2 "2022-09-15T09:37:47Z")

</div>

Can you do what you want with [Custom events for alerting?](https://www.dynatrace.com/support/help/how-to-use-dynatrace/problem-detection-and-analysis/problem-detection/metric-events-for-alerting)

Create 3 separate HTTP Monitors.

1) For ‘warning’ when only 1 endpoint fails, use either the global or local outage settings in the HTTP Monitors. See [docs](https://www.dynatrace.com/support/help/how-to-use-dynatrace/synthetic-monitoring/browser-monitors/configure-browser-monitors#outage-handling).

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.

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)

I then set the static threshold to alert when the count went over 2.

 ![HannahM_0-1663234655020.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/2/02f42d93ea1da92a88230c95587ee1cdbcfab858.png)
