# Thresholds vary during every weekend.

**URL:** <https://community.dynatrace.com/t/thresholds-vary-during-every-weekend/44847>\
**Category:** Alerting\
**Tags:** threshold, problems-classic\
**Created:** [March 25, 2024, 2:54pm UTC](https://community.dynatrace.com/t/thresholds-vary-during-every-weekend/44847 "2024-03-25T14:54:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vrc2017](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@vrc2017](https://community.dynatrace.com/u/vrc2017)\
**Post date:** [March 25, 2024, 2:54pm UTC](https://community.dynatrace.com/t/thresholds-vary-during-every-weekend/44847/1 "2024-03-25T14:54:58Z")

</div>

We have a scheduled maintenance in our datacenters where we would like to change the threshold by an hour vs defined time for that time frame. Has anyone had a suggestion?

Example: Resource threshold in alerting profile is set to 30 mins but during the scheduled maintenance we want this to be 1 hr. 30 mins.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [March 25, 2024, 6:23pm UTC](https://community.dynatrace.com/t/thresholds-vary-during-every-weekend/44847/2 "2024-03-25T18:23:51Z")

</div>

Hi,

I would suggest to create a [maintenace windows](https://docs.dynatrace.com/docs/shortlink/maintenance-window)&nbsp;instead.

But if you want to go ahead, I would use [Monaco](https://docs.dynatrace.com/docs/shortlink/configuration-as-code) to deploy those changes.

Best regards

---

<div class="post-metadata">

**Author:** ![jose\_araya](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jose\_araya](https://community.dynatrace.com/u/jose_araya)\
**Post date:** [March 25, 2024, 8:03pm UTC](https://community.dynatrace.com/t/thresholds-vary-during-every-weekend/44847/3 "2024-03-25T20:03:38Z")

</div>

You would need to call the Settings API or use MONACO maybe to deploy dynamically those changes to the Alerting Profiles configuration:

> **[Settings API - Problem alerting profiles schema table](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/settings/schemas/builtin-alerting-profile)**
>
> View builtin:alerting.profile settings schema table of your monitoring environment via the Dynatrace API.

Regards,

Jose David.

---

<div class="post-metadata">

**Author:** ![vrc2017](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@vrc2017](https://community.dynatrace.com/u/vrc2017)\
**Post date:** [March 25, 2024, 8:08pm UTC](https://community.dynatrace.com/t/thresholds-vary-during-every-weekend/44847/4 "2024-03-25T20:08:31Z")

</div>

[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp;[@jose\_araya](https://community.dynatrace.com/user/33470)&nbsp;thank you for the recommendations. We have been using automation tools to update the alerting profile, but we are trying to find another way to do without involving external tools.

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [March 30, 2024, 8:38am UTC](https://community.dynatrace.com/t/thresholds-vary-during-every-weekend/44847/5 "2024-03-30T08:38:00Z")

</div>

Hi&nbsp;[@vrc2017](https://community.dynatrace.com/user/39088),

If you are using dynatrace SaaS, you can utilize [workflows](https://docs.dynatrace.com/docs/shortlink/workflows)&nbsp;:dynahistory:

HTH

Yos

---

<div class="post-metadata">

**Author:** ![vrc2017](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@vrc2017](https://community.dynatrace.com/u/vrc2017)\
**Post date:** [April 3, 2024, 10:30pm UTC](https://community.dynatrace.com/t/thresholds-vary-during-every-weekend/44847/6 "2024-04-03T22:30:59Z")

</div>

[@Yosi\_Neuman](https://community.dynatrace.com/user/6931)&nbsp;that is cool, but we are not a SaaS customer.
