# How to send alerts in different timing intervals based on the severity

**URL:** <https://forums.percona.com/t/how-to-send-alerts-in-different-timing-intervals-based-on-the-severity/24052>\
**Category:** PMM 2.x\
**Tags:** pmm\
**Created:** [July 31, 2023, 9:57am UTC](https://forums.percona.com/t/how-to-send-alerts-in-different-timing-intervals-based-on-the-severity/24052 "2023-07-31T09:57:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naresh9999](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/naresh9999/32/5568_2.png) [@Naresh9999](https://forums.percona.com/u/Naresh9999)\
**Post date:** [July 31, 2023, 9:57am UTC](https://forums.percona.com/t/how-to-send-alerts-in-different-timing-intervals-based-on-the-severity/24052/1 "2023-07-31T09:57:23Z")

</div>

Hi Folks,

We would like to send an email alert at different timing intervals, like below.

Critical Alerts - Every 5 minutes  
Warning Alerts - Every 15 minutes  
Notice Alerts - Every one hour

Instead, I am getting alerts every 10 minutes. but I want to send an email alert depending on the severity or alerts rule like above example.

---

<div class="post-metadata">

**Author:** ![steve.hoffman](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/steve.hoffman/32/66_2.png) [@steve.hoffman](https://forums.percona.com/u/steve.hoffman)\
**Post date:** [July 31, 2023, 2:43pm UTC](https://forums.percona.com/t/how-to-send-alerts-in-different-timing-intervals-based-on-the-severity/24052/2 "2023-07-31T14:43:47Z")

</div>

Take a look at notification policies…there’s an option to match on labels and then you can customize timings and repeating of alerts. Should be straight forward to setup an alert to match on severity for each of the above. I’d think the group wait would be 0 seconds (send initial alert immediately) and repeat interval would be 5m, 15m, 1h for each severity policy.

---

<div class="post-metadata">

**Author:** ![Naresh9999](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/naresh9999/32/5568_2.png) [@Naresh9999](https://forums.percona.com/u/Naresh9999)\
**Post date:** [August 3, 2023, 8:43pm UTC](https://forums.percona.com/t/how-to-send-alerts-in-different-timing-intervals-based-on-the-severity/24052/3 "2023-08-03T20:43:20Z")

</div>

Thanks @steve.hoffman
