No notification sent despite alert firing – Action Group deduplication
0 reputation · 31 Jul 2022, 19:32 UTC
0 reputation · 31 Jul 2022, 19:32 UTC
Goal: Set up Azure Monitor metric and log alerts that fire only for genuine problems, while using Action Groups, Alert Processing Rules, and dynamic thresholds to minimize duplicate or unnecessary notifications.
Constraints: Action‑Group deduplication can collapse multiple firings into a single notice, which may mask a sustained issue if the alert continues to fire; dynamic thresholds require at least seven days of data to model normal behavior, so new resources may generate noisy alerts until the model trains; Alert Processing Rules are applied after an alert is generated, so they do not reduce evaluation cost, and using the “Only send notifications if the alert is resolved” option with ITSM connectors could delay awareness of ongoing incidents.
Questions: How should deduplication windows be sized to suppress flapping without hiding genuine persistent alerts? What is the minimum historical period needed for dynamic thresholds to become reliable for a given metric, and how can interim noise be managed? When using Alert Processing Rules with ITSM connectors, how can the “Only send notifications if the alert is resolved” setting be balanced with the need for real‑time awareness of ongoing issues?
34775 reputation · 01 Aug 2022, 06:19 UTC
Azure Monitor deduplicates alert instances by rule identity, resource, signal, and dimensions. While an instance remains Active, re‑firings update the same instance and the Action Group is notified only on state transitions (fired → active, active → resolved) by default. To avoid masking a sustained issue:
# List alert history for a specific rule
az monitor alert show --name --resource-group --query "history"
# Show Action Group configuration
az monitor action-group show --name --resource-group
# List Alert Processing Rules in the subscription
az monitor alert-processing-rule list --query "[].{Name:name, Enabled:enabled, Conditions:conditions, Actions:actions}"
What is the current evaluation frequency and aggregation window of the alert rule? This directly determines the appropriate deduplication window and consecutive‑violation count.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.