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/storage/files/files-monitoring-alerts.md
+47-27Lines changed: 47 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,11 +46,15 @@ To create an alert that will notify you if a file share is being throttled, foll
46
46
47
47
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).
48
48
49
-
2. In the **Condition** tab, select the **Transactions**metric.
49
+
2. In the **Scope** tab, select the **Select Scope**dialog box.
50
50
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.
52
52
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.
54
58
55
59
For standard file shares, select the following response types:
56
60
@@ -92,32 +96,40 @@ To create an alert that will notify you if a file share is being throttled, foll
92
96
93
97
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).
94
98
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.
96
102
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.
98
106
99
107
> [!NOTE]
100
108
> 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.
101
109
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.
103
111
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.
105
113
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).
107
115
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.
109
117
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.
111
119
112
-
9. Select **Review + create** to create the alert.
120
+
11. Select **Review + create** to create the alert.
113
121
114
122
## How to create an alert if the Azure file share egress has exceeded 500 GiB in a day
115
123
116
124
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).
117
125
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.
119
127
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.
121
133
122
134
> [!NOTE]
123
135
> 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.
140
152
141
153
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).
142
154
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.
144
158
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.
146
162
147
163
> [!NOTE]
148
164
> 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.
149
165
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.
151
167
152
168
> [!TIP]
153
169
> 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).
154
170
155
-
5. Define the lookback period and frequency of evaluation.
171
+
7. Define the lookback period and frequency of evaluation.
156
172
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.
158
174
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.
160
176
161
-
8. Select **Review + create** to create the alert.
177
+
10. Select **Review + create** to create the alert.
162
178
163
179
## How to create an alert if the Azure file share availability is less than 99.9%
164
180
165
181
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).
166
182
167
-
2. In the **Condition** tab, select the **Availability**metric.
183
+
2. In the **Scope** tab, select the **Select Scope**dialog box.
168
184
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:
170
190
-**Threshold** = **Static**
171
191
-**Aggregation type** = **Average**
172
192
-**Operator** = **Less than**
173
193
-**Threshold value** enter **99.9**
174
194
175
-
4. In the **Split by dimensions** section:
195
+
6. In the **Split by dimensions** section:
176
196
- Select the **Dimension name** drop-down and select **File Share**.
177
197
- Select the **Dimension values** drop-down and select the file share(s) that you want to alert on.
178
198
179
199
> [!NOTE]
180
200
> 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.
181
201
182
-
6. In the **When to evaluate** section, select the following:
202
+
7. In the **When to evaluate** section, select the following:
183
203
-**Check every** = **5 minutes**
184
204
-**Lookback period** = **1 hour**
185
205
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.
187
207
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.
189
209
190
-
9. Select **Review + create** to create the alert.
210
+
10. Select **Review + create** to create the alert.
0 commit comments