# Is there a way to alert on the failure of multiple synthetic monitors?

**URL:** <https://community.dynatrace.com/t/is-there-a-way-to-alert-on-the-failure-of-multiple-synthetic-monitors/16109>\
**Category:** Alerting\
**Tags:** problems-classic\
**Created:** [October 3, 2018, 5:44pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-alert-on-the-failure-of-multiple-synthetic-monitors/16109 "2018-10-03T17:44:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![1derek](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/1derek/32/9346_2.png) [@1derek](https://community.dynatrace.com/u/1derek)\
**Post date:** [October 3, 2018, 5:44pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-alert-on-the-failure-of-multiple-synthetic-monitors/16109/1 "2018-10-03T17:44:15Z")

</div>

I only want to fail if multiple, distinct, synthetic tests fail. Is there a way to do this in Dynatrace?

The reason that I desire to do this is that my application has 2 distinct ways to enter; I only care to know if both of those mechanisms fail to work; if one is failing, I am OK with that.

---

<div class="post-metadata">

**Author:** ![AlexanderSommer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alexandersommer/32/2501_2.png) [@AlexanderSommer](https://community.dynatrace.com/u/AlexanderSommer)\
**Post date:** [October 4, 2018, 6:16am UTC](https://community.dynatrace.com/t/is-there-a-way-to-alert-on-the-failure-of-multiple-synthetic-monitors/16109/2 "2018-10-04T06:16:24Z")

</div>

This is not possible. Depending on how you detect if a test is failing, it might be possible to create just one test and combine the two variants. We will release a custom scripting feature mid of October which let’s you modify the recorded script. Perhaps you can add a JavaScript code to only fail the script of both ways will fail.
