Skip to content

Commit 803c1f5

Browse files
authored
Merge pull request #289459 from grover2754/updatealerts
added scope
2 parents ac34fd2 + 640bed7 commit 803c1f5

File tree

1 file changed

+47
-27
lines changed

1 file changed

+47
-27
lines changed

articles/storage/files/files-monitoring-alerts.md

Lines changed: 47 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,15 @@ To create an alert that will notify you if a file share is being throttled, foll
4646

4747
1. Open the **Create an alert rule** dialog box. For more information, see [Create or edit an alert rule](/azure/azure-monitor/alerts/alerts-create-new-alert-rule).
4848

49-
2. In the **Condition** tab, select the **Transactions** metric.
49+
2. In the **Scope** tab, select the **Select Scope** dialog box.
5050

51-
3. In the **Dimension name** drop-down list, select **Response type**.
51+
3. In the **Select a resource** blade, expand the **storage account** and check the **file** resource and press apply.
5252

53-
4. In the **Dimension values** drop-down list, select the appropriate response types for your file share.
53+
4. In the **Condition** tab, select the **Transactions** metric.
54+
55+
5. In the **Dimension name** drop-down list, select **Response type**.
56+
57+
6. In the **Dimension values** drop-down list, select the appropriate response types for your file share.
5458

5559
For standard file shares, select the following response types:
5660

@@ -92,32 +96,40 @@ To create an alert that will notify you if a file share is being throttled, foll
9296

9397
1. Open the **Create an alert rule** dialog box. For more information, see [Create or edit an alert rule](/azure/azure-monitor/alerts/alerts-create-new-alert-rule).
9498

95-
2. In the **Condition** tab of the **Create an alert rule** dialog box, select the **File Capacity** metric.
99+
2. In the **Scope** tab, select the **Select Scope** dialog box.
100+
101+
3. In the **Select a resource** blade, expand the **storage account** and check the **file** resource and press apply.
96102

97-
3. For **premium file shares**, select the **Dimension name** drop-down list, and then select **File Share**. For **standard file shares**, skip to step 5.
103+
4. In the **Condition** tab of the **Create an alert rule** dialog box, select the **File Capacity** metric.
104+
105+
5. For **premium file shares**, select the **Dimension name** drop-down list, and then select **File Share**. For **standard file shares**, skip to step 5.
98106

99107
> [!NOTE]
100108
> If the file share is a standard file share, the **File Share** dimension won't list the file share(s) because per-share metrics aren't available for standard file shares. Alerts for standard file shares are based on all file shares in the storage account. Because per-share metrics aren't available for standard file shares, the recommendation is to have one file share per storage account.
101109
102-
4. Select the **Dimension values** drop-down and select the file share(s) that you want to alert on.
110+
6. Select the **Dimension values** drop-down and select the file share(s) that you want to alert on.
103111

104-
5. Enter the **Threshold value** in bytes. For example, if the file share size is 100 TiB and you want to receive an alert when the file share size is 80% of capacity, the threshold value in bytes is 87960930222080.
112+
7. Enter the **Threshold value** in bytes. For example, if the file share size is 100 TiB and you want to receive an alert when the file share size is 80% of capacity, the threshold value in bytes is 87960930222080.
105113

106-
6. Define the alert parameters (threshold value, operator, lookback period, and frequency of evaluation).
114+
8. Define the alert parameters (threshold value, operator, lookback period, and frequency of evaluation).
107115

108-
7. Select the **Actions** tab to add an action group (email, SMS, etc.) to the alert. You can select an existing action group or create a new action group.
116+
9. Select the **Actions** tab to add an action group (email, SMS, etc.) to the alert. You can select an existing action group or create a new action group.
109117

110-
8. Select the **Details** tab to fill in the details of the alert such as the alert name, description, and severity.
118+
10. Select the **Details** tab to fill in the details of the alert such as the alert name, description, and severity.
111119

112-
9. Select **Review + create** to create the alert.
120+
11. Select **Review + create** to create the alert.
113121

114122
## How to create an alert if the Azure file share egress has exceeded 500 GiB in a day
115123

116124
1. Open the **Create an alert rule** dialog box. For more information, see [Create or edit an alert rule](/azure/azure-monitor/alerts/alerts-create-new-alert-rule).
117125

118-
2. In the **Condition** tab of the **Create an alert rule** dialog box, select the **Egress** metric.
126+
2. In the **Scope** tab, select the **Select Scope** dialog box.
119127

120-
3. For **premium file shares**, select the **Dimension name** drop-down list and select **File Share**. For **standard file shares**, skip to step 5.
128+
3. In the **Select a resource** blade, expand the **storage account** and check the **file** resource and press apply.
129+
130+
4. In the **Condition** tab of the **Create an alert rule** dialog box, select the **Egress** metric.
131+
132+
5. For **premium file shares**, select the **Dimension name** drop-down list and select **File Share**. For **standard file shares**, skip to step 5.
121133

122134
> [!NOTE]
123135
> If the file share is a standard file share, the **File Share** dimension won't list the file share(s) because per-share metrics aren't available for standard file shares. Alerts for standard file shares are based on all file shares in the storage account. Because per-share metrics aren't available for standard file shares, the recommendation is to have one file share per storage account.
@@ -140,54 +152,62 @@ To create an alert for high server latency (average), follow these steps.
140152

141153
1. Open the **Create an alert rule** dialog box. For more information, see [Create or edit an alert rule](/azure/azure-monitor/alerts/alerts-create-new-alert-rule).
142154

143-
2. In the **Condition** tab of the **Create an alert rule** dialog box, select the **Success Server Latency** metric.
155+
2. In the **Scope** tab, select the **Select Scope** dialog box.
156+
157+
3. In the **Select a resource** blade, expand the **storage account** and check the **file** resource and press apply.
144158

145-
3. Select the **Dimension values** drop-down and select the file share(s) that you want to alert on.
159+
4. In the **Condition** tab of the **Create an alert rule** dialog box, select the **Success Server Latency** metric.
160+
161+
5. Select the **Dimension values** drop-down and select the file share(s) that you want to alert on.
146162

147163
> [!NOTE]
148164
> To alert on the overall latency experience, leave **Dimension values** unchecked. To alert on the latency of specific transactions, select the API Name in the drop-down list. For example, selecting the Read and Write API names with the equal operator will only display latency for data transactions. Selecting the Read and Write API name with the not equal operator will only display latency for metadata transactions.
149165
150-
4. Define the **Alert Logic** by selecting either Static or Dynamic. For Static, select **Average** Aggregation, **Greater than** Operator, and Threshold value. For Dynamic, select **Average** Aggregation, **Greater than** Operator, and Threshold Sensitivity.
166+
6. Define the **Alert Logic** by selecting either Static or Dynamic. For Static, select **Average** Aggregation, **Greater than** Operator, and Threshold value. For Dynamic, select **Average** Aggregation, **Greater than** Operator, and Threshold Sensitivity.
151167

152168
> [!TIP]
153169
> If you're using a static threshold, the metric chart can help determine a reasonable threshold value if the file share is currently experiencing high latency. If you're using a dynamic threshold, the metric chart will display the calculated thresholds based on recent data. We recommend using the Dynamic logic with Medium threshold sensitivity and further adjust as needed. To learn more, see [Understanding dynamic thresholds](/azure/azure-monitor/alerts/alerts-dynamic-thresholds#understand-dynamic-thresholds-charts).
154170
155-
5. Define the lookback period and frequency of evaluation.
171+
7. Define the lookback period and frequency of evaluation.
156172

157-
6. Select the **Actions** tab to add an action group (email, SMS, etc.) to the alert. You can select an existing action group or create a new action group.
173+
8. Select the **Actions** tab to add an action group (email, SMS, etc.) to the alert. You can select an existing action group or create a new action group.
158174

159-
7. Select the **Details** tab to fill in the details of the alert such as the alert name, description, and severity.
175+
9. Select the **Details** tab to fill in the details of the alert such as the alert name, description, and severity.
160176

161-
8. Select **Review + create** to create the alert.
177+
10. Select **Review + create** to create the alert.
162178

163179
## How to create an alert if the Azure file share availability is less than 99.9%
164180

165181
1. Open the **Create an alert rule** dialog box. For more information, see [Create or edit an alert rule](/azure/azure-monitor/alerts/alerts-create-new-alert-rule).
166182

167-
2. In the **Condition** tab, select the **Availability** metric.
183+
2. In the **Scope** tab, select the **Select Scope** dialog box.
168184

169-
3. In the **Alert logic** section, provide the following:
185+
3. In the **Select a resource** blade, expand the **storage account** and check the **file** resource and press apply.
186+
187+
4. In the **Condition** tab, select the **Availability** metric.
188+
189+
5. In the **Alert logic** section, provide the following:
170190
- **Threshold** = **Static**
171191
- **Aggregation type** = **Average**
172192
- **Operator** = **Less than**
173193
- **Threshold value** enter **99.9**
174194

175-
4. In the **Split by dimensions** section:
195+
6. In the **Split by dimensions** section:
176196
- Select the **Dimension name** drop-down and select **File Share**.
177197
- Select the **Dimension values** drop-down and select the file share(s) that you want to alert on.
178198

179199
> [!NOTE]
180200
> If the file share is a standard file share, the **File Share** dimension won't list the file share(s) because per-share metrics aren't available for standard file shares. Availability alerts for standard file shares will be at the storage acount level.
181201
182-
6. In the **When to evaluate** section, select the following:
202+
7. In the **When to evaluate** section, select the following:
183203
- **Check every** = **5 minutes**
184204
- **Lookback period** = **1 hour**
185205

186-
7. Click **Next** to go to the **Actions** tab and add an action group (email, SMS, etc.) to the alert. You can select an existing action group or create a new action group.
206+
8. Click **Next** to go to the **Actions** tab and add an action group (email, SMS, etc.) to the alert. You can select an existing action group or create a new action group.
187207

188-
8. Click **Next** to go to the **Details** tab and fill in the details of the alert such as the alert name, description, and severity.
208+
9. Click **Next** to go to the **Details** tab and fill in the details of the alert such as the alert name, description, and severity.
189209

190-
9. Select **Review + create** to create the alert.
210+
10. Select **Review + create** to create the alert.
191211

192212
## Related content
193213

0 commit comments

Comments
 (0)