Creating an Azure Monitor alert rule when Azure Storage Files share usage approaches quota

Dossy Shiobara 21 Reputation points
2020-10-20T14:32:07.29+00:00

How can I create an Azure Monitor alert rule for an Azure Storage Files share when it's usage approaches the quota for that share?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,826 questions
Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,170 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,721 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sumarigo-MSFT 43,806 Reputation points Microsoft Employee
    2020-10-21T06:59:28.653+00:00

    @DossyShiobara There is now Quota management API in preview https://azure.microsoft.com/en-us/updates/azure-quota-rest-api-to-manage-service-limits-quota-are-now-available-in-preview/

    There’s a storage logging feature that’s currently in preview that can be used to monitor read, write and delete operations.

    To learn more, see: https://learn.microsoft.com/en-us/azure/storage/common/monitor-storage?tabs=azure-powershell#logs-in-azure-monitor-preview

    It would be good to evaluate this feature and let us know if it meets your needs.

    If you’re interested in joining the preview, please complete the following form:

    Additional information: I would suggest you start with understanding Storage limits, Azure Monitor Metrics for Storage, and Azure alerts for background. If you just want to find these numbers, you can use Azure Monitor Metrics Powershell to query.

    You can use metric UsedCapacity. To setup alert rule for #1, you need to calculate absolute number by MAX * 80%. Please be aware that different type of storage has different capacity limit. I think #2 ask is the same as #1. You may elaborate otherwise. You can also use Azure alert Powershell to automate.

    Note: If you are looking for specific feature, I would recommended to leave your feedback/UserVoice here. All the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.

    Hope this helps!

    Kindly let us know if the above helps or you need further assistance on this issue.

    --------------------------------------------------------------------------------------------------------------------

    Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


1 additional answer

Sort by: Most helpful
  1. Sumarigo-MSFT 43,806 Reputation points Microsoft Employee
    2020-10-20T15:20:16.067+00:00

    @DossyShiobara There is a similar discussion thread, You can refer to the suggestion mentioned in the MSDN and SO forum.
    1:https://stackoverflow.com/questions/57303398/is-there-some-way-to-monitor-azure-files-capacity
    You may also refer to this blog, If you still find any difficulties, please let us know.

    Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Hope this helps!

    Kindly let us know if the above helps or you need further assistance on this issue.

    ---------------------------------------------------------------------------------------------------------------------------------------------

    Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.