Skip to content

Commit 25f6b67

Browse files
committedJan 12, 2022
start alerts with templates
1 parent 62acd11 commit 25f6b67

File tree

4 files changed

+70
-0
lines changed

4 files changed

+70
-0
lines changed
 
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
---
2+
title: Configure Azure Monitor alerts for Application Gateway
3+
description: Learn how to use ARM templates to configure Azure Monitor alerts for Application Gateway
4+
author: vhorne
5+
ms.author: victorh
6+
ms.service: application-gateway
7+
ms.topic: how-to
8+
ms.date: 01/12/2022
9+
---
10+
11+
# Configure Azure Monitor alerts for Application Gateway
12+
13+
14+
Azure Monitor alerts proactively notify you when important conditions are found in your monitoring data. They allow you to identify and address issues in your system before your customers notice them. For more information about Azure Monitor Alerts for Application Gateway, see [Monitoring Azure Application Gateway](monitor-application-gateway.md#alerts).
15+
16+
## Configure alerts using ARM templates
17+
18+
You can use ARM templates to quickly configure important alerts for Application Gateway. Before you begin, consider the following details:
19+
20+
- Azure Monitor alert rules are charged based on the type and number of signals it monitors. See [Azure Monitor pricing](https://azure.microsoft.com/pricing/details/monitor/) before deploying for pricing information. Or you can see the estimated cost in the portal after deployment:
21+
:::image type="content" source="media/configure-alerts-with-templates/alert-pricing.png" alt-text="Image showing application gateway pricing details":::
22+
- You need to create an Azure Monitor action group in advance and then use the Resource ID for as many alerts as you need. Azure Monitor alerts use this action group to notify users that an alert has been triggered. For more information, see [Create and manage action groups in the Azure portal](../azure-monitor/alerts/action-groups.md).
23+
- The templates for alerts described here are defined generically for settings like Severity, Aggregation Granularity, Frequency of Evaluation, Condition Type, and so on. You can modify the settings after deployment to meet your needs. See [Understand how metric alerts work in Azure Monitor](../azure-monitor/alerts/alerts-metric-overview.md) for more information.
24+
- The templates for metric-based alerts use the **Dynamic threshold** value with [High sensitivity](../azure-monitor/alerts/alerts-dynamic-thresholds.md#what-does-sensitivity-setting-in-dynamic-thresholds-mean). You can choose to adjust these settings based on your needs.
25+
26+
## ARM templates
27+
28+
The following ARM templates are available to configure Azure Monitor alerts for Application Gateway.
29+
30+
### Alert for Backend Response Status as 5xx
31+
32+
This notification is based on Metrics signal.
33+
34+
<Deploy to Azure>
35+
36+
### Alert for average unhealthy host count
37+
38+
This notification is based on Metrics signal.
39+
40+
<Deploy to Azure>
41+
42+
### Alert for Backend Last Byte Response Time
43+
44+
This notification is based on Metrics signal.
45+
46+
<Deploy to Azure>
47+
48+
### Alert for Key Vault integration issues
49+
50+
Based on its Azure Advisor recommendation.
51+
52+
<Deploy to Azure>
53+
54+
### Alert for Insufficient Instances to support traffic
55+
56+
This notification is based on its Azure Advisor recommendation.
57+
58+
<Deploy to Azure>
59+
60+
## Next steps
61+
62+
<!-- Add additional links. You can change the wording of these and add more if useful. -->
63+
64+
- See [Monitoring Application Gateway data reference](monitor-application-gateway-reference.md) for a reference of the metrics, logs, and other important values created by Application Gateway.
65+
66+
- See [Monitoring Azure resources with Azure Monitor](../azure-monitor/essentials/monitor-azure-resource.md) for details on monitoring Azure resources.

‎articles/application-gateway/high-traffic-support.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ Check your Compute Unit metric for the past one month. Compute unit metric is a
6262

6363
To get notified of any traffic or utilization anomalies, you can set up alerts on certain metrics. See [metrics documentation](./application-gateway-metrics.md) for the complete list of metrics offered by Application Gateway. See [visualize metrics](./application-gateway-metrics.md#metrics-visualization) in the Azure portal and the [Azure monitor documentation](../azure-monitor/alerts/alerts-metric.md) on how to set alerts for metrics.
6464

65+
To configure alerts using ARM templates, see [Configure Azure Monitor alerts for Application Gateway](configure-alerts-with-templates.md).
66+
6567
## Alerts for Application Gateway v1 SKU (Standard/WAF)
6668

6769
### Alert if average CPU utilization crosses 80%
Loading

‎articles/application-gateway/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,8 @@
288288
href: custom-error.md
289289
- name: Migrate from v1 to v2
290290
href: migrate-v1-v2.md
291+
- name: Configure alerts
292+
href: configure-alerts-with-templates.md
291293
- name: Reference
292294
items:
293295
- name: Monitoring data

0 commit comments

Comments
 (0)
Please sign in to comment.