You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/alerts/alerts-manage-alert-rules.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: AbbyMSFT
5
5
ms.author: abbyweisberg
6
6
ms.topic: conceptual
7
7
ms.custom: devx-track-azurecli
8
-
ms.date: 10/25/2023
8
+
ms.date: 01/14/2024
9
9
ms.reviewer: harelbr
10
10
---
11
11
# Manage your alert rules
@@ -55,11 +55,11 @@ Manage your alert rules in the Azure portal, or using the CLI or PowerShell.
55
55
56
56
## Enable recommended alert rules in the Azure portal
57
57
58
-
If you don't have alert rules defined for the selected resource, either individually or as part of a resource group or subscription, you can [create a new alert rule](alerts-log.md#create-a-new-log-alert-rule-in-the-azure-portal), or enable recommended out-of-the-box alert rules in the Azure portal.
58
+
You can [create a new alert rule](alerts-log.md#create-a-new-log-alert-rule-in-the-azure-portal), or enable recommended out-of-the-box alert rules in the Azure portal.
59
59
60
60
The system compiles a list of recommended alert rules based on:
61
61
- The resource provider’s knowledge of important signals and thresholds for monitoring the resource.
62
-
-Telemetry that tells us what customers commonly alert on for this resource.
62
+
-Data that tells us what customers commonly alert on for this resource.
63
63
64
64
> [!NOTE]
65
65
> The alert rule recommendations feature is enabled for:
@@ -72,14 +72,19 @@ The system compiles a list of recommended alert rules based on:
72
72
To enable recommended alert rules:
73
73
74
74
1. In the left pane, select **Alerts**.
75
-
1. Select **View + enable**. The **Set up recommended alert rules** pane opens with a list of recommended alert rules based on your type of resource.
76
-
1. In the **Alert me if** section, all recommended alerts are enabled by default. The rules are populated with the default values for the rule condition, such as the percentage of CPU usage that you want to trigger an alert. You can change the default values if you would like, or turn off an alert.
75
+
1. Select **View + set up**. The **Set up recommended alert rules** pane opens with a list of recommended alert rules based on your type of resource.
76
+
77
+
:::image type="content" source="media/alerts-managing-alert-instances/set-up-recommended-alerts.png" alt-text="Screenshot of recommended alert rules pane.":::
78
+
79
+
1. In the **Select alert rules** section, all recommended alerts are populated with the default values for the rule condition, such as the percentage of CPU usage that you want to trigger an alert. You can change the default values if you would like, or turn off an alert.
80
+
1. Expand each of the alert rules to see its details. By default, the severity for each is **Informational**. You can change to another severity if you'd like.
1. In the **Notify me by** section, select the way you want to be notified if an alert is fired.
78
85
1. Select **Use an existing action group**, and enter the details of the existing action group if you want to use an action group that already exists.
79
86
1. Select **Save**.
80
87
81
-
:::image type="content" source="media/alerts-managing-alert-instances/set-up-recommended-alerts.png" alt-text="Screenshot of recommended alert rules pane.":::
82
-
83
88
## Manage metric alert rules with the Azure CLI
84
89
85
90
This section describes how to manage metric alert rules using the cross-platform [Azure CLI](/cli/azure/get-started-with-azure-cli). The following examples use [Azure Cloud Shell](../../cloud-shell/overview.md).
@@ -90,7 +90,7 @@ This table describes when a stateful alert is considered resolved:
90
90
91
91
## Recommended alert rules
92
92
93
-
If you don't have alert rules defined for the selected resource, you can [enable recommended out-of-the-box alert rules in the Azure portal](alerts-manage-alert-rules.md#enable-recommended-alert-rules-in-the-azure-portal).
93
+
You can [enable recommended out-of-the-box alert rules in the Azure portal](alerts-manage-alert-rules.md#enable-recommended-alert-rules-in-the-azure-portal).
94
94
95
95
The system compiles a list of recommended alert rules based on:
96
96
@@ -120,13 +120,13 @@ Use [log alert rules](alerts-create-log-alert-rule.md) to monitor all resources
120
120
121
121
You can also create resource-centric alerts instead of workspace-centric alerts by using **Split by dimensions**. When you split on the resourceId column, you will get one alert per resource that meets the condition.
122
122
123
-
Log alert rules that use splitting by dimensions are charged based on the number of time series created by the dimensions resulting from your query. If the data is already collected to an Log Analytics workspace, there is no additional cost.
123
+
Log alert rules that use splitting by dimensions are charged based on the number of time series created by the dimensions resulting from your query. If the data is already collected to a Log Analytics workspace, there is no additional cost.
124
124
125
125
If you use metric data at scale in the Log Analytics workspace, pricing will change based on the data ingestion.
126
126
127
127
### Using Azure policies for alerting at scale
128
128
129
-
You can use [Azure policies](/azure/governance/policy/overview) to set up alerts at-scale. This has the advantage of easily implementing alerts at-scale. You can see how this is implementated with [Azure Monitor baseline alerts](https://aka.ms/amba).
129
+
You can use [Azure policies](/azure/governance/policy/overview) to set up alerts at-scale. This has the advantage of easily implementing alerts at-scale. You can see how this is implemented with [Azure Monitor baseline alerts](https://aka.ms/amba).
130
130
131
131
Keep in mind that if you use policies to create alert rules, you may have the increased overhead of maintaining a large alert rule set.
Copy file name to clipboardExpand all lines: articles/azure-monitor/vm/tutorial-monitor-vm-alert-recommended.md
+8-14Lines changed: 8 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Enable set of recommended metric alert rules for an Azure virtual m
4
4
ms.service: azure-monitor
5
5
ms.topic: article
6
6
ms.custom: subject-monitoring
7
-
ms.date: 10/20/2023
7
+
ms.date: 01/14/2024
8
8
ms.reviewer: Xema Pathak
9
9
---
10
10
@@ -26,26 +26,20 @@ To complete the steps in this article you need the following:
26
26
27
27
- An Azure virtual machine to monitor.
28
28
29
-
> [!IMPORTANT]
30
-
> If the VM has any other alert rules associate with it, then recommended alerts will not be available. You can access recommended alerts by removing any alert rules targeted to the VM.
31
-
32
-
33
29
## Create recommended alert rules
34
-
From the menu for the VM, select **Alerts** in the **Monitoring** section. Select **View + enable**.
35
-
36
-
:::image type="content" source="media/tutorial-monitor-vm/enable-recommended-alerts.png" alt-text="Screenshot of option to enable recommended alerts for a virtual machine." lightbox="media/tutorial-monitor-vm/enable-recommended-alerts.png":::
37
-
38
30
39
-
A list of recommended alert rules is displayed. You can select which ones to create and change their recommended threshold if you want. Ensure that **Email**is enabled and provide an email address to be notified when any of the alerts fire. An [action group](../alerts/action-groups.md) will be created with this address. If you already have an action group that you want to use, you can specify it instead.
31
+
1. From the menu for the VM, select **Alerts**in the **Monitoring** section. Select **View + set up**.
40
32
33
+
:::image type="content" source="media/tutorial-monitor-vm/enable-recommended-alerts.png" alt-text="Screenshot of option to enable recommended alerts for a virtual machine." lightbox="media/tutorial-monitor-vm/enable-recommended-alerts.png":::
41
34
42
-
:::image type="content" source="media/tutorial-monitor-vm/set-up-recommended-alerts.png" alt-text="Screenshot of recommended alert rule configuration." lightbox="media/tutorial-monitor-vm/set-up-recommended-alerts.png":::
35
+
A list of recommended alert rules is displayed. You can select which rules to create. You can also change the recommended threshold. Ensure that **Email** is enabled and provide an email address to be notified when any of the alerts fire. An [action group](../alerts/action-groups.md) will be created with this address. If you already have an action group that you want to use, you can specify it instead.
43
36
44
-
Expand each of the alert rules to inspect its details. By default, the severity for each is **Informational**. You might want to change to another severity such as **Error**.
37
+
:::image type="content" source="media/tutorial-monitor-vm/set-up-recommended-alerts.png" alt-text="Screenshot of recommended alert rule configuration." lightbox="media/tutorial-monitor-vm/set-up-recommended-alerts.png":::
38
+
1. Expand each of the alert rules to see its details. By default, the severity for each is **Informational**. You might want to change to another severity such as **Error**.
0 commit comments