Skip to content

Commit c1ed5a9

Browse files
committed
Fixing some issues
1 parent a3645a8 commit c1ed5a9

File tree

1 file changed

+50
-28
lines changed

1 file changed

+50
-28
lines changed

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

Lines changed: 50 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: normesta
55
services: storage
66
ms.service: azure-file-storage
77
ms.topic: conceptual
8-
ms.date: 10/06/2022
8+
ms.date: 07/11/2023
99
ms.author: normesta
1010
ms.devlang: csharp
1111
ms.custom: monitoring, devx-track-csharp, devx-track-azurepowershell
@@ -374,7 +374,7 @@ For more information on how to write queries, see [Log Analytics tutorial](../..
374374

375375
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. You can set alerts on [metrics](../../azure-monitor/alerts/alerts-metric-overview.md), [logs](../../azure-monitor/alerts/alerts-unified-log.md), and the [activity log](../../azure-monitor/alerts/activity-log-alerts.md).
376376

377-
To learn more about how to create an alert, see [Create or edit an alert rule](../../azure-monitor/alerts/alerts-create-new-alert-rule).
377+
To learn more about how to create an alert, see [Create or edit an alert rule](../../azure-monitor/alerts/alerts-create-new-alert-rule.md).
378378

379379
> [!NOTE]
380380
> If you create an alert and it's too noisy, adjust the threshold value and alert logic.
@@ -389,9 +389,13 @@ The following table lists some example scenarios to monitor and the proper metri
389389

390390
### How to create an alert if a file share is throttled
391391

392-
1. In the **Condition** tab of the **Create an alert rule** dialog box, select the **Transactions** metric.
393-
2. In the **Dimension name** drop-down list of the **Split by dimensions** section, select **Response type**.
394-
3. Select the **Dimension values** drop-down list and select the appropriate response types for your file share.
392+
1. Open the **Create an alert rule** dialog box. For more information, see [Create or edit an alert rule](../../azure-monitor/alerts/alerts-create-new-alert-rule.md).
393+
394+
2. In the **Condition** tab, select the **Transactions** metric.
395+
396+
3. In the **Dimension name** drop-down list, select **Response type**.
397+
398+
4. In the **Dimension values** drop-down list, select the appropriate response types for your file share.
395399

396400
For standard file shares, select the following response types:
397401

@@ -409,53 +413,71 @@ The following table lists some example scenarios to monitor and the proper metri
409413
- ClientShareIopsThrottlingError
410414

411415
> [!NOTE]
412-
> If the response types are not listed in the **Dimension values** drop-down, this means the resource has not been throttled. To add the dimension values, next to the **Dimension values** drop-down list, select **Add custom value**, enter the respone type (for example, **SuccessWithThrottling**), select **OK**, and then repeat these steps to add all applicable response types for your file share.
416+
> If the response types are not listed in the **Dimension values** drop-down, this means the resource has not been throttled. To add the dimension values, next to the **Dimension values** drop-down list, select **Add custom value**, enter the response type (for example, **SuccessWithThrottling**), select **OK**, and then repeat these steps to add all applicable response types for your file share.
413417
414-
4. For **premium file shares**, select the **Dimension name** drop-down and select **File Share**. For **standard file shares**, skip to step 6.
418+
5. For **premium file shares**, select the **Dimension name** drop-down and select **File Share**. For **standard file shares**, skip to step 7.
415419

416420
> [!NOTE]
417421
> If the file share is a standard file share, the **File Share** dimension will not list the file share(s) because per-share metrics are not available for standard file shares. Throttling alerts for standard file shares will be triggered if any file share within the storage account is throttled and the alert will not identify which file share was throttled. Since per-share metrics are not available for standard file shares, the recommendation is to have one file share per storage account.
418422
419-
5. Click the **Dimension values** drop-down and select the file share(s) that you want to alert on.
423+
6. Select the **Dimension values** drop-down and select the file share(s) that you want to alert on.
420424

421-
6. Define the alert parameters (threshold value, operator, lookback period, and frequency of evaluation).
425+
7. Define the alert parameters (threshold value, operator, lookback period, and frequency of evaluation).
422426

423427
> [!TIP]
424428
> If you are using a static threshold, the metric chart can help determine a reasonable threshold value if the file share is currently being throttled. If you're using a dynamic threshold, the metric chart will display the calculated thresholds based on recent data.
425429
426-
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.
427-
8. Select the **Details** tab to fill in the details of the alert such as the alert name, description, and severity.
428-
9. Select **Review + create** to create the alert.
430+
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.
431+
432+
9. Select the **Details** tab to fill in the details of the alert such as the alert name, description, and severity.
433+
434+
10. Select **Review + create** to create the alert.
429435

430436
### How to create an alert if the Azure file share size is 80% of capacity
431437

432-
1. In the **Condition** tab of the **Create an alert rule** dialog box, select the **File Capacity** metric.
433-
2. For **premium file shares**, select the **Dimension name** drop-down list, and then select **File Share**. For **standard file shares**, skip to step 4.
438+
1. Open the **Create an alert rule** dialog box. For more information, see [Create or edit an alert rule](../../azure-monitor/alerts/alerts-create-new-alert-rule.md).
439+
440+
2. In the **Condition** tab of the **Create an alert rule** dialog box, select the **File Capacity** metric.
441+
442+
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.
434443

435444
> [!NOTE]
436445
> If the file share is a standard file share, the **File Share** dimension will not list the file share(s) because per-share metrics are not available for standard file shares. Alerts for standard file shares are based on all file shares in the storage account. Since per-share metrics are not available for standard file shares, the recommendation is to have one file share per storage account.
437446
438-
3. Select the **Dimension values** drop-down and select the file share(s) that you want to alert on.
439-
4. 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.
440-
5. Define the alert parameters (threshold value, operator, lookback period, and frequency of evaluation).
441-
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.
442-
7. Select the **Details** tab to fill in the details of the alert such as the alert name, description, and severity.
443-
8. Select **Review + create** to create the alert.
447+
4. Select the **Dimension values** drop-down and select the file share(s) that you want to alert on.
448+
449+
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.
450+
451+
6. Define the alert parameters (threshold value, operator, lookback period, and frequency of evaluation).
452+
453+
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.
454+
455+
8. Select the **Details** tab to fill in the details of the alert such as the alert name, description, and severity.
456+
457+
9. Select **Review + create** to create the alert.
444458

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

447-
1. In the **Condition** tab of the **Create an alert rule** dialog box, select the **Egress** metric.
448-
2. For **premium file shares**, select the **Dimension name** drop-down list and select **File Share**. For **standard file shares**, skip to step 4.
461+
1. Open the **Create an alert rule** dialog box. For more information, see [Create or edit an alert rule](../../azure-monitor/alerts/alerts-create-new-alert-rule.md).
462+
463+
2. In the **Condition** tab of the **Create an alert rule** dialog box, select the **Egress** metric.
464+
465+
3. For **premium file shares**, select the **Dimension name** drop-down list and select **File Share**. For **standard file shares**, skip to step 5.
449466

450467
> [!NOTE]
451468
> If the file share is a standard file share, the **File Share** dimension will not list the file share(s) because per-share metrics are not available for standard file shares. Alerts for standard file shares are based on all file shares in the storage account. Since per-share metrics are not available for standard file shares, the recommendation is to have one file share per storage account.
452469
453-
7. Select the **Dimension values** drop-down and select the file share(s) that you want to alert on.
454-
8. Enter **536870912000** bytes for Threshold value.
455-
9. From the **Check every** drop-down list, select the frequency of evaluation.
456-
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.
457-
7. Select the **Details** tab to fill in the details of the alert such as the alert name, description, and severity.
458-
8. Select **Review + create** to create the alert.
470+
4. Select the **Dimension values** drop-down and select the file share(s) that you want to alert on.
471+
472+
5. Enter **536870912000** bytes for Threshold value.
473+
474+
6. From the **Check every** drop-down list, select the frequency of evaluation.
475+
476+
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.
477+
478+
8. Select the **Details** tab to fill in the details of the alert such as the alert name, description, and severity.
479+
480+
9. Select **Review + create** to create the alert.
459481

460482
## Next steps
461483

0 commit comments

Comments
 (0)