Monitor Memory Usage and Disk Space in Azure VM Scale Sets (VMSS)

FZ-KECH 41 Reputation points
2023-09-18T15:55:17.78+00:00

Hello All,

We aim to monitor the performance of our Azure VMSS and establish an Azure dashboard for displaying metrics. While we can track CPU percentage, monitoring memory usage and disk space has proven to be a challenge. We've gone ahead and installed the OMS agent and configured a Log Analytics workspace, but metrics (%used memory and % used space) not showing any data. "Is there a way to obtain this data?"

Could you please help with this.

thank you

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,812 questions
Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
348 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Boris Von Dahle 3,116 Reputation points
    2023-09-18T16:23:56.4333333+00:00

    Hello,

    You will have to enable the guest OS metrics like in the following screenshot to be able to read memory usage and free disk space.
    set Guest OS diagnostics to On

    Another way of accomplishing this and to get new performance counters is to onboard your VM into Insights in order to get the used space of the disk and the memory usage.

    This is the dcumentation related to insights : https://learn.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-enable-overview

    Hope this helps

    Regards