# Need assistance with creating a custom alert

**URL:** <https://community.dynatrace.com/t/need-assistance-with-creating-a-custom-alert/21164>\
**Category:** Alerting\
**Tags:** problems-classic\
**Created:** [January 8, 2021, 6:02pm UTC](https://community.dynatrace.com/t/need-assistance-with-creating-a-custom-alert/21164 "2021-01-08T18:02:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![snakhuda](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@snakhuda](https://community.dynatrace.com/u/snakhuda)\
**Post date:** [January 8, 2021, 6:02pm UTC](https://community.dynatrace.com/t/need-assistance-with-creating-a-custom-alert/21164/1 "2021-01-08T18:02:44Z")

</div>

![27827-1610128511241.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/e/4e2bff797233f86400490c7405978cd7d7f7df7a.png)

I have a requirement to create a custom alert definition based on this condition below:

If # **Pool consumed size** # is greater than 90 percent of # **Pool allocated size** # then trigger an alert.

Do we have any example to create something like this?

Thank you for your help in advance!

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [January 8, 2021, 7:36pm UTC](https://community.dynatrace.com/t/need-assistance-with-creating-a-custom-alert/21164/2 "2021-01-08T19:36:13Z")

</div>

[@Salman N.](https://answers.dynatrace.com/users/30305/view.html) You will most likely want to create a custom event for alerting. To do this, go to Settings\>Anomaly Detection\>Create Custom Event for Alerting. Then search for Pool:

 ![27816-1610134474500.png](https://global.discourse-cdn.com/dynatrace/original/2X/9/92abf2cd6bed418ffdb91bf661922ba6ba5b6caf.png)  
Once selected, you can adjust the footprint of the alert as well as the alerting rules. Just make sure you add this custom event as part of your alerting profile to ensure the teams get alerted as desired

---

<div class="post-metadata">

**Author:** ![snakhuda](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@snakhuda](https://community.dynatrace.com/u/snakhuda)\
**Post date:** [January 8, 2021, 9:29pm UTC](https://community.dynatrace.com/t/need-assistance-with-creating-a-custom-alert/21164/3 "2021-01-08T21:29:20Z")

</div>

Chad, thanks for your response. I don’t see an option to select multiple metrics. Furthermore, don’t see an option to do calculation or insert formula. May i have to create a new custom metric to do the calculation first?

**Condition:**

If # **Pool consumed size** # is greater than 90 percent of # **Pool allocated size** # then trigger an alert.

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [January 8, 2021, 9:42pm UTC](https://community.dynatrace.com/t/need-assistance-with-creating-a-custom-alert/21164/4 "2021-01-08T21:42:43Z")

</div>

Ahh yes, the custom events for alerting is only singular, if you need to do calculations first then you will need to look into the custom metrics which will use custom metric licenses. Unfortunately, I don’t have much experience in that.

---

<div class="post-metadata">

**Author:** ![snakhuda](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@snakhuda](https://community.dynatrace.com/u/snakhuda)\
**Post date:** [January 8, 2021, 11:40pm UTC](https://community.dynatrace.com/t/need-assistance-with-creating-a-custom-alert/21164/5 "2021-01-08T23:40:32Z")

</div>

Thank you Chad. It doesn’t look there is an easy way to do this. i will keep exploring my options. Appreciate your help!

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [January 11, 2021, 2:12pm UTC](https://community.dynatrace.com/t/need-assistance-with-creating-a-custom-alert/21164/6 "2021-01-11T14:12:32Z")

</div>

You should put this in as a RFE 🙂
