question

VasanthKanugo-5748 avatar image
0 Votes"
VasanthKanugo-5748 asked tbgangav-MSFT edited

Azure monitor agent Support for Linux Virtual Machines

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
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @VasanthKanugo-5748,

Thanks for reaching out. I am checking on it and will get back to you at the earliest.

0 Votes 0 ·

1 Answer

tbgangav-MSFT avatar image
0 Votes"
tbgangav-MSFT answered tbgangav-MSFT edited

Hi @VasanthKanugo-5748,

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



image.png (139.7 KiB)
image.png (123.5 KiB)
image.png (55.4 KiB)
image.png (46.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.