# Can you configure a synthetic monitor to automatically retry on a failure?

**URL:** <https://community.dynatrace.com/t/can-you-configure-a-synthetic-monitor-to-automatically-retry-on-a-failure/19733>\
**Category:** Synthetic Monitoring\
**Tags:** synthetic-monitoring\
**Created:** [July 6, 2020, 2:26pm UTC](https://community.dynatrace.com/t/can-you-configure-a-synthetic-monitor-to-automatically-retry-on-a-failure/19733 "2020-07-06T14:26:58Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Greg\_Sanders](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Greg\_Sanders](https://community.dynatrace.com/u/Greg_Sanders)\
**Post date:** [July 6, 2020, 2:26pm UTC](https://community.dynatrace.com/t/can-you-configure-a-synthetic-monitor-to-automatically-retry-on-a-failure/19733/1 "2020-07-06T14:26:58Z")

</div>

Let’s say you run a synthetic monitor every 15 minutes from one location and it fails for some reason. Also, say you have the trigger set to 2 consecutive failures. Can you configure it to auto-retry in 1, 2, or say 5 minutes later and then if there is a 2nd failure, then you can trigger the alert? We want to be as efficient as we can to catch the failure condition as soon as possible

If you wait for a 2nd occurrence to fail, then you could be waiting nearly 30 minutes if the site was down 14 minutes prior to the 1st test since the 2nd test won’t occur until 15 minutes after that 1st failure. Sure, you can run it multiple times from multiple sites, but you are increasing your application hits unnecessarily and increasing your licensing dem units, as well as other impacts. This impact is greater the depending on the number of synthetic transactions you run.

Dynatrace indicates that it will retry on failures if the error is a network error. So, if the page fails due to validation or the script fails because the page isn’t loaded all the way, or some other condition, it won’t run again until the next scheduled run. But, if there is a DNS error or connection timeout, or basically any error from the network layer, it will retry the test immediately. If a retry occurs, the second result is reported.

This helps partially, but there are a lot of reasons that a retry could prove helpful.

---

_[View the full topic](https://community.dynatrace.com/t/can-you-configure-a-synthetic-monitor-to-automatically-retry-on-a-failure/19733)._
