# Auto close Custom Events after a period like host unavailability

**URL:** <https://community.dynatrace.com/t/auto-close-custom-events-after-a-period-like-host-unavailability/32835>\
**Category:** Alerting\
**Tags:** problems-classic\
**Created:** [September 29, 2021, 2:34am UTC](https://community.dynatrace.com/t/auto-close-custom-events-after-a-period-like-host-unavailability/32835 "2021-09-29T02:34:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrc15816](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mrc15816](https://community.dynatrace.com/u/mrc15816)\
**Post date:** [September 29, 2021, 2:34am UTC](https://community.dynatrace.com/t/auto-close-custom-events-after-a-period-like-host-unavailability/32835/1 "2021-09-29T02:34:52Z")

</div>

I am interested to know if Auto Close option will be introduced for Custom Events - just like Host unavailability? Or configured at the time of setup of the Custom Event.

We have problems in alert state for more than 30 days for our custom events.

Thanks

Raj

---

<div class="post-metadata">

**Author:** ![paul\_ingle](https://avatars.discourse-cdn.com/v4/letter/p/b9e5f3/32.png) [@paul\_ingle](https://community.dynatrace.com/u/paul_ingle)\
**Post date:** [September 30, 2021, 4:04pm UTC](https://community.dynatrace.com/t/auto-close-custom-events-after-a-period-like-host-unavailability/32835/2 "2021-09-30T16:04:59Z")

</div>

[@mrc15816](https://community.dynatrace.com/user/21197)&nbsp;What metric/threshold are you using for the custom event? Custom events for alerting do auto-close when the metric is below the threshold for the specified amount of time, perhaps the threshold is too low.

---

<div class="post-metadata">

**Author:** ![mrc15816](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mrc15816](https://community.dynatrace.com/u/mrc15816)\
**Post date:** [October 7, 2021, 2:40am UTC](https://community.dynatrace.com/t/auto-close-custom-events-after-a-period-like-host-unavailability/32835/3 "2021-10-07T02:40:04Z")

</div>

[@paul\_ingle](https://community.dynatrace.com/user/30682) thank you for the response. We have few Windows Services with Custom alerting setup. These were trigged around 49 days ago and they are still active.

---

<div class="post-metadata">

**Author:** ![larry\_roberts](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/larry_roberts/32/7131_2.png) [@larry\_roberts](https://community.dynatrace.com/u/larry_roberts)\
**Post date:** [October 12, 2022, 5:51pm UTC](https://community.dynatrace.com/t/auto-close-custom-events-after-a-period-like-host-unavailability/32835/4 "2022-10-12T17:51:45Z")

</div>

I have seen this a few times myself with custom events. Seems to be hit and miss sometimes.
