Share via

Azure monitor agent Support for Linux Virtual Machines

Vasanth Kanugo 1 Reputation point
Feb 18, 2021, 6:52 AM

Creating DCR and linking them to resources installs azure monitor agent automatically on the resources.
With the steps in the document and the answers on the thread, virtual machine guest metric namespace is enabled for windows machines.
The problem pertains to Linux machines even after Insights is enabled.
How is the metric namespace to be enabled for Linux machines??

69376-screenshot-2021-02-11-at-75254-pm.png

69363-screenshot-2021-02-11-at-75005-pm.png

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,537 questions
{count} votes

1 answer

Sort by: Most helpful
  1. tbgangav-MSFT 10,431 Reputation points
    Mar 15, 2021, 11:16 AM

    Hi @Vasanth Kanugo ,

    Firstly, apologies for the delayed response. I was checking with internal / product team and finally here is the update:

    As this (AMA) is still in preview state and not yet Generally Available (GA) so as mentioned in this question, there is an update on the plan mentioned w.r.t the experience and plan.

    Option-1:
    For example: If we install AMA agent in a VM (Linux) and create DCR, add performance counters data source, add Azure Monitor Metrics destination and add the VM under DCR resources then if we go to Metrics tile under Azure Monitor and select the VM’s scope then we should be able to see guest metrics related to that VM. This understanding is accurate for the new AMA which collects guest OS metrics.

    Option-2:
    The “Enable guest memory metrics” that you see in below screenshot actually points to using the existing WAD/LAD agents instead (which is another way to collect metrics)

    Windows VM scope:
    77747-image.png

    Linux VM scope:
    77718-image.png

    Given that AMA is still not at parity with WAD/LAD today, we will provide both options for now. Once parity is achieved, these options will be converged to use AMA instead.

    So, at this point in your case, to be able to see Linux guest memory metrics, you could install LAD and then you would be able to see metrics as shown below.

    Linux VM scope:
    77736-image.png

    77792-image.png

    0 comments No comments

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.