---
title: Monitor settings changes not taking effect
description: >-
  Understand why monitor group changes may not take immediate effect due to
  group persistence and aging behavior.
breadcrumbs: Docs > Monitors > Monitor Guides > Monitor settings changes not taking effect
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Monitor settings changes not taking effect

## Overview{% #overview %}

Datadog keeps monitor groups available in the UI for a retention period after they stop reporting, unless the query is changed. The retention period depends on the monitor type and configuration. For details, see [Group retention time](https://docs.datadoghq.com/monitors/configuration.md?tab=thresholdalert#group-retention-time). If you do not have No Data alert settings enabled and your group for a metric monitor stops reporting data, the group persists on the monitor status page until it ages out, though that group stops being evaluated after a short absence.

For event monitors, however, Datadog also keeps groups for evaluations for at least 24 hours. This means that if a monitor is updated and the groups are changed in the query, some old groups may persist. If you must change the group settings on your event monitor, you may want to clone or create a monitor to reflect your new groups. Alternatively, you can mute them if you would like to maintain the monitor but silence any alerts that would result from the changes.

## Renamed or decommissioned hosts appearing in alerts{% #renamed-or-decommissioned-hosts-appearing-in-alerts %}

When a host is renamed at the operating system (OS) level or decommissioned, the old hostname may continue to appear in monitor alert groups even after the host stops reporting data. This is expected behavior based on host group retention periods, which vary by monitor type and configuration. For the retention period that applies to each monitor type, see [Group retention time](https://docs.datadoghq.com/monitors/configuration.md?tab=thresholdalert#group-retention-time).

The old hostname remains in an alert state until the retention period expires, after which it automatically ages out and disappears from the monitor. **Note**: The old hostname will no longer appear in Infrastructure > Hosts, but will continue to be evaluated by monitors until the retention window passes.

{% alert level="danger" %}
If a Custom Schedule is applied to a monitor, decommissioned hosts continue to be evaluated past the standard retention window. For more information, see [Custom Schedules](https://docs.datadoghq.com/monitors/guide/custom_schedules.md).
{% /alert %}

### Workarounds{% #workarounds %}

If you need to remove the old hostname from alerts before the retention period expires, you can use one of the following workarounds:

- **Mute the specific alert group** for the old hostname while it ages out naturally.
- **Add an exclusion filter** to the monitor query (for example, `-host:old-hostname`) to immediately remove the hostname from evaluation.

## Further reading{% #further-reading %}

- [Troubleshooting Monitor Alerts](https://docs.datadoghq.com/content/en/monitors/guide/troubleshooting-monitor-alerts.md)
