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: learn-pr/azure/incident-response-with-alerting-on-azure/includes/8-exercise-activity-log-alerts.md
+47-40Lines changed: 47 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,17 +12,19 @@ Your goal is to set up a Linux virtual machine (VM) and create an activity log m
12
12
13
13
1. In the Monitor menu, select **Alerts**. The **Monitor | Alerts** pane appears.
14
14
15
-
1. On the command bar, select **+ Create** and select **Alert rule**. The **Create an alert rule** pane appears in the background with the **Scope** section open, and the **Select a resource** overlay pane open on the right-hand side of your screen.
15
+
1. On the command bar, select **+ Create** and select **Alert rule** from the dropdown list. The **Create an alert rule** pane appears in the background with the **Scope** section open, and the **Select a resource** overlay pane on the right-hand side of your screen.
16
16
17
-
1.In the **Resource types** dropdown list, search for and select **Virtual machines**.
17
+
1.On the **Select a resource** overlay pane in the **Resource types** dropdown list, search for and select **Virtual machines**.
18
18
19
19
1. You want an alert when any virtual machine in your resource group is deleted. Select the box for the **<rgn>[sandbox resource group name]</rgn>** resource group, then select **Apply**.
20
20
21
21
:::image type="content" source="../media/7-alert-select-resource.png" alt-text="Screenshot that shows the Select a scope pane with the sandbox resource group selected.":::
22
22
23
23
1. Back on the **Create an alert rule** pane, the Scope target resource now shows **All Virtual machines**. Select the **Condition** tab.
24
24
25
-
1. Select the **See all signals** link, which opens the **Select a signal** overlay pane to the right-hand side of your screen. Search for and select **Delete Virtual Machine (Virtual Machines)**. Select **Apply**
25
+
1. On the **Condition** tab, select the **See all signals** link, which opens the **Select a signal** overlay pane to the right-hand side of your screen.
26
+
27
+
1. On the **Select a signal** overlay pane, search for and select **Delete Virtual Machine (Virtual Machines)**, then select **Apply**
26
28
27
29
1. You're back on the **Create an alert rule** pane. To receive alerts of all types, leave **Alert logic** settings at their default of **All selected**. Leave the **Create an alert rule** pane open for the next section.
28
30
@@ -34,41 +36,41 @@ For the previous Azure Monitor alert, you didn't add any actions. You just viewe
34
36
35
37
1. Close the **Use quick actions (preview)** overlay pane. Then, select **Use action group** on the **Actions** tab. The **Select action groups** overlay pane appears.
| Notification type | Select **Email/SMS message/Push/Voice**|
56
-
| Name |**VM was deleted**|
58
+
| Name |**VM was deleted**|
57
59
58
-
1. The **Email/SMS message/Push/Voice** pane appears automatically. If it didn't, select the **Edit** pencil icon.
60
+
1. The **Email/SMS message/Push/Voice**overlay pane appears automatically on the right-hand side of the screen. If it didn't, select the **Edit** pencil icon.
59
61
60
-
1.Select **Email**, and in the **Email**box, enter your email address, and then select **OK**.
62
+
1.On the **Email/SMS message/Push/Voice** overlay pane, select **Email**. Then, in the **Email**field, enter your email address and select **OK**.
61
63
62
-
1.Select**Review + create** to validate your input.
64
+
1.Back on the **Create action group** pane, select**Review + create** to validate your input.
63
65
64
66
1. Select **Create**.
65
67
66
68
1. The **Create an alert rule** pane reappears. Select **Next: Details** and enter the following values for each setting.
67
69
68
-
| Setting | Value |
69
-
|---------|---------|
70
-
| Alert rule name |**VM was deleted**|
71
-
| Description |**A VM in your resource group was deleted**|
| Description |**A VM in your resource group was deleted**|
72
74
73
75
1. Expand the **Advanced options** section and confirm that **Enable alert rule upon creation** is selected.
74
76
@@ -78,9 +80,9 @@ For the previous Azure Monitor alert, you didn't add any actions. You just viewe
78
80
79
81
Recipients added to the configured action group (operations team) receive a notification:
80
82
81
-
- When they're added to the action group
82
-
- When the alert is activated
83
-
- When the alert is triggered
83
+
* When they're added to the action group
84
+
* When the alert is activated
85
+
* When the alert is triggered
84
86
85
87
It can take up to five minutes for an activity log alert rule to become active. In this exercise, if you delete the virtual machine before the rule deploys, the alert rule might not be triggered. Because of this delay, you might not see the same results in the following steps after you delete the VM.
86
88
@@ -119,28 +121,33 @@ In the exercise, you set up an Ubuntu VM and created an activity log rule to det
119
121
We're going to schedule a one-time, overnight, planned maintenance. It starts in the evening and continues until the next morning.
120
122
121
123
1. In the Azure portal resource menu, select **Monitor**, select **Alerts** in the menu on the left, and select **Alert processing rules** in the menu bar.
124
+
122
125
1. Select **+ Create**.
126
+
123
127
1. Check the box for your sandbox resource group as the scope of the alert processing rule, then select **Apply**.
128
+
124
129
1. Select **Next: Rule settings**, then select **Suppress notifications**.
130
+
125
131
1. Select **Next: Scheduling**.
132
+
126
133
1. By default, the rule works all the time, unless you disable it. We're going to define the rule to suppress notifications for a one-time overnight planned maintenance.
127
134
Enter these settings for the scheduling of the alert processing rule:
:::image type="content" source="../media/8-alert-processing-rule-schedule.png" alt-text="Screenshot of the scheduling section of an alert processing rule." lightbox="../media/8-alert-processing-rule-schedule.png":::
137
144
138
145
1. Select **Next: Details** and enter these settings:
139
146
140
-
| Setting | Value |
141
-
|---------|---------|
142
-
|Resource group |Select your sandbox resource group. |
143
-
|Rule name|**Planned Maintenance**|
144
-
|Description|**Suppress notifications during planned maintenance.**|
0 commit comments