Azure VM not generating alerts for DISK . Not getting data in Log analytics

coolqwerty 21 Reputation points

Azure VM not generating alerts for DISK . Not getting data in Log analytics

Checked - Extension health - It is healthy
Checked - MMA inside the VM with no error .Running fine.

But still i don't see heartbeat recieve in log analytics.

I see test cloud connection failure but same failure i see on other VM but there it is reporting the heartbeat and alerts fine without any issue

Please help

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,858 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,140 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
251 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Manu Philip 16,991 Reputation points MVP

    I suggest you to try the following query and if it works well, create a custom alert rule with the query

    Go to Log Analytics Workspace > Logs > Run the following query
    The following query shows the azure virtual machine with less than 100GB disk

    | where Name == "FreeSpacePercentage"  
    | summarize arg_max(TimeGenerated, *) by Tags  
    // arg_max over TimeGenerated returns the latest record  
    | project TimeGenerated, Computer, Val, Tags  
    | where Val < 100  


    --please don't forget to upvote and Accept as answer if the reply is helpful--

  2. David Broggy 5,686 Reputation points MVP

    Hi Coolprash,

    Do you have any logs showing up in the disk's Activity Log? If not, then you shouldn't expect to see anything in log analytics.

    Maybe take a step back and please verify this is how you configured logging?

    Azure VM > [your disk] > Activity Log > Export Activity Logs > + Add Diagnostic Setting


  3. Maxim Sergeev 6,566 Reputation points Microsoft Employee

    Hi there,

    Are you sure that you MMA is configured correctly and it's reporting to a right Log Analytics workspace? Can you compare workspace ids on both Virtual Machines?
    You can check it in Control Panel


    0 comments No comments