# Suppress CPU Saturation event for a host during specified time

**URL:** <https://community.dynatrace.com/t/suppress-cpu-saturation-event-for-a-host-during-specified-time/49005>\
**Category:** Alerting\
**Tags:** anomaly-detection\
**Created:** [November 21, 2024, 1:49pm UTC](https://community.dynatrace.com/t/suppress-cpu-saturation-event-for-a-host-during-specified-time/49005 "2024-11-21T13:49:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sundarv1](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sundarv1](https://community.dynatrace.com/u/sundarv1)\
**Post date:** [November 21, 2024, 1:49pm UTC](https://community.dynatrace.com/t/suppress-cpu-saturation-event-for-a-host-during-specified-time/49005/1 "2024-11-21T13:49:46Z")

</div>

Suppress CPU Saturation event for a host during specified time (2.00a.m to 5.00a.m sydney time)

---

<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:** [November 21, 2024, 5:15pm UTC](https://community.dynatrace.com/t/suppress-cpu-saturation-event-for-a-host-during-specified-time/49005/2 "2024-11-21T17:15:45Z")

</div>

Hi,

Do you require only CPU or it can be other infra metrics?

Best regards

---

<div class="post-metadata">

**Author:** ![sundarv1](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sundarv1](https://community.dynatrace.com/u/sundarv1)\
**Post date:** [November 22, 2024, 1:14am UTC](https://community.dynatrace.com/t/suppress-cpu-saturation-event-for-a-host-during-specified-time/49005/3 "2024-11-22T01:14:54Z")

</div>

Hi AntonPineiro

[Preview](https://community.dynatrace.com/post/263272#)Want to suppress only CPU Saturation event for a&nbsp; single host for specified time frame

---

<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:** [November 22, 2024, 3:29am UTC](https://community.dynatrace.com/t/suppress-cpu-saturation-event-for-a-host-during-specified-time/49005/4 "2024-11-22T03:29:43Z")

</div>

[@sundarv1](https://community.dynatrace.com/user/74312)&nbsp;,one way you can achieve this is by using a workflow to disable the anomaly detection for CPU at host level at the specified time and reenable it, might sound like a bit overkill but should work.

> **[Settings API - PUT an object](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/settings/objects/put-object)**
>
> Edit a settings object via the Dynatrace API.

> **[Host anomaly detection](https://docs.dynatrace.com/docs/observe/infrastructure-observability/hosts/configuration/anomaly-detection)**
>
> Configure host anomaly detection, including problem and event thresholds.

---

<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:** [November 22, 2024, 8:08am UTC](https://community.dynatrace.com/t/suppress-cpu-saturation-event-for-a-host-during-specified-time/49005/5 "2024-11-22T08:08:22Z")

</div>

Hi,

I would say these options:

1. Disable CPU anomaly detection for that host in the UI.
2. Using API + script to enable / disable CPU anomaly detection.
3. Using Monaco and deploy disable configuration + deploy enable configuration.
4. Using workflows.

Best regards
