Trying to Monitor a Azure local VM using Azure Monitor but i am not able to see any metric even after enabling the insights

VIshnu 80 Reputation points
2025-06-19T10:38:37.1833333+00:00

Hi Team,

I am trying to Monitor a virtual machine that is deployed on a Azure local using azure monitor but i am not able to see the metrics

User's image

Due to which i am unable to see any metric signals in the alerts configuration.

User's image

Azure Local
{count} votes

Accepted answer
  1. Mounika Reddy Anumandla 6,495 Reputation points Microsoft External Staff Moderator
    2025-06-23T06:03:09.83+00:00

    Hi VIshnu,

    Sorry if I misunderstood your question! The performance counter \LogicalDisk(_Total)\% Free Space provides an aggregate value across all logical disks (OS disk + data disks), not individual drives.

    If my disk free space is less than 15% [if my keep \LogicalDisk(_Total)% Free Space then does this check for all the attached disk for the VM or only OS disk ]

    This checks all the Total - All disks combined.

    One of the most common monitoring requirements for a virtual machine is to create an alert if it stops running. The best method is to create a metric alert rule in Azure Monitor by using the VM availability metric. For a walk-through on this metric, see Create availability alert rule for Azure virtual machine.
    Metric alert rules

    A metric called Heartbeat is included in each Log Analytics workspace. Each virtual machine connected to that workspace sends a heartbeat metric value each minute. Because the computer is a dimension on the metric, you can fire an alert when any computer fails to send a heartbeat. Set the Aggregation type to Count and the Threshold value to match the Evaluation granularity.

    Log search alert rules

    Log search alerts use the Heartbeat table, which should have a heartbeat record every minute from each machine.

    Use a rule with the following query:

    Heartbeat | summarize TimeGenerated=max(TimeGenerated) by Computer, _ResourceId | extend Duration = datetime_diff('minute',now(),TimeGenerated) | summarize MinutesSinceLastHeartbeat = min(Duration) by Computer, bin(TimeGenerated,5m), _ResourceId

    https://learn.microsoft.com/en-us/azure/azure-monitor/vm/monitor-virtual-machine-alerts#machine-availability

    Hope it helps!

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. VIshnu 80 Reputation points
    2025-06-24T04:52:24.4266667+00:00

    Hello Mounika,

    Thank you for the support


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.