# AWS RdsRestartsThresholds condition

**URL:** <https://community.dynatrace.com/t/aws-rdsrestartsthresholds-condition/48037>\
**Category:** Alerting\
**Tags:** aws, problem-detection, problem-notification, davis, anomaly-detection, problems-classic\
**Created:** [September 30, 2024, 8:33am UTC](https://community.dynatrace.com/t/aws-rdsrestartsthresholds-condition/48037 "2024-09-30T08:33:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venkata\_Sainath\_Ghanachari](https://avatars.discourse-cdn.com/v4/letter/v/3ab097/32.png) [@Venkata\_Sainath\_Ghanachari](https://community.dynatrace.com/u/Venkata_Sainath_Ghanachari)\
**Post date:** [September 30, 2024, 8:33am UTC](https://community.dynatrace.com/t/aws-rdsrestartsthresholds-condition/48037/1 "2024-09-30T08:33:18Z")

</div>

We are trying to simulate the AWS RDS restart alerting, But when we restarted the RDS it hasn’t trigger any problem Only we can see the event.

If we set the condition **automatic** for RDS restart, What is threshold for triggering Probelm?

 ![VenkataSainath_0-1727685022793.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/2/92cff52f5bb5b9b3b586be114acb7abff966218f.png)

As per documentation, **“Alert if number of restarts is_X_per minute or higher in 3 out of 20 samples.”** What is the X value here ?

> **[AWS anomaly detection API - GET configuration](https://docs.dynatrace.com/docs/dynatrace-api/configuration-api/anomaly-detection-api/anomaly-detection-api-aws/get-config#definition--RdsRestartsThresholds)**
>
> Read the configuration of anomaly detection for AWS via the Dynatrace API.

 ![VenkataSainath_1-1727685123637.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/8/883ff214d63731e3e87b1dbedd4827a4f43ee935.png)

Regards,

Venkat

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [October 1, 2024, 6:34am UTC](https://community.dynatrace.com/t/aws-rdsrestartsthresholds-condition/48037/2 "2024-10-01T06:34:15Z")

</div>

Hi&nbsp;[@VenkataSainath](https://community.dynatrace.com/user/41639)

X in “restartPerMinute” refers to the below value in the config

So, it would be&nbsp;3 per minute or higher in 3 out of 20 samples.

```markup
"rdsRestartsSequenceDetection": {
    "customThresholds": {
      "restartPerMinute": 3
    },
    "enabled": true
  }

```

---

<div class="post-metadata">

**Author:** ![Venkata\_Sainath\_Ghanachari](https://avatars.discourse-cdn.com/v4/letter/v/3ab097/32.png) [@Venkata\_Sainath\_Ghanachari](https://community.dynatrace.com/u/Venkata_Sainath_Ghanachari)\
**Post date:** [October 1, 2024, 6:41am UTC](https://community.dynatrace.com/t/aws-rdsrestartsthresholds-condition/48037/3 "2024-10-01T06:41:28Z")

</div>

[@p\_devulapalli](https://community.dynatrace.com/user/21657) , If the Detection mode has **“Automatic”** , what will be threshold condition to trigger alert?

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [October 2, 2024, 12:33am UTC](https://community.dynatrace.com/t/aws-rdsrestartsthresholds-condition/48037/4 "2024-10-02T00:33:42Z")

</div>

[@VenkataSainath](https://community.dynatrace.com/user/41639)&nbsp;In this case I think it would be&nbsp;2 out of 20 samples

> **[RdsRestartsSequenceDetectionConfig - Settings API - Anomaly detection for...](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/settings/schemas/builtin-anomaly-detection-infrastructure-aws#RdsRestartsSequenceDetectionConfig)**
>
> Dynatrace automatically detects infrastructure-related performance anomalies such as high CPU saturation, memory outages, and low disk-space conditions. These settings allow you to configure detection sensitivity, set alert thresholds, or disable...
