Azure Arc setup doesn't notify if sapce is less than 10% if more than 1 disk is present

Todor Dimitrov 20 Reputation points
2025-06-25T10:37:01.57+00:00

Hello,

I have set up Azure Arc to collect information about the disk space on all the Logical Disks of all the servers that we have. The problem is that when there is more than one disk present on a server it calculates the Average even though i've set it to Minimum in the Alert rule and if one of the disks has less than 10% disk space left it doesn't trigger an alert and from there we don't get notified. The Data Collection rule is set up so the Data Resource is Performance Counter and it's set to Basic Disk because there is no custom Logical Disk(*)% Free Space. Is there a way to set it up so that it will check every disk and if one of them reaches 10% or bellow to fire an alert? Thank you for your time in advance.

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
0 comments No comments
{count} votes

Accepted answer
  1. Rahul Jorrigala 3,655 Reputation points Microsoft External Staff Moderator
    2025-06-25T12:45:50.09+00:00

    Hello Todor Dimitrov,

    For Windows machines, ensure that the performance counter LogicalDisk(*)\% Free Space is included, and for Linux machines, use Logical Disk(*)\% Free Space as shown below.

    User's image

    User's image

    While creating the alert, make sure to use the required Instance dimension. This will allow you to monitor individual drives on Windows servers and corresponding mount points on Linux servers.

    User's image

    Please let me know if you face any challenge here, I can help you to resolve this issue further

    Provide your valuable Comments.

    Please do not forget to "Accept the answer” and “upvote it” wherever the information provided helps you, this can be beneficial to other community members.it would be greatly appreciated and helpful to others.

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Michele Ariis 2,520 Reputation points MVP
    2025-06-25T12:55:38.5933333+00:00

    Hi, If the disk space alert doesn’t fire when it should, it’s because the DCR is only collecting the _Total value, which is an average of all disks, not the separate data for each volume. Even if you set the rule to “Minimum”, you are still evaluating a single average. To make it actually work, there are just three steps: 1) edit the DCR and add the \LogicalDisk(*)\% Free Space counter so that it collects data for each disk individually (e.g. C:, D:…); 2) create an alert that “split” per disk, using InstanceName (Windows) or DiskMountId (Linux), with aggregation Minimum and threshold < 10% – so the rule evaluates each volume independently and fires as soon as even one goes below the threshold; 3) to test, fill a disk on a VM (with fsutil file createnew for example), wait 60 seconds, and check in the logs or graph that the value has arrived and that the alert has done its job. In short: collect data for each disk with the wildcard (*), create a rule that evaluates each volume separately and use Minimum to trigger the alarm as soon as just one is full. This way you avoid ignoring problems because “on average” the disks are fine.

    1 person found this answer helpful.

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.