Jump to content
  • entries
    142
  • comments
    0
  • views
    87479

Azure Monitor for VMs – Health, Performance & Service Map


proximagr

705 views

 Share


Get real insights about your Windows and Linux VMs & VMSSs performance and their dependencies with Azure Monitor. Integrate with Log Analytics for even more in depth analysis and retain the data over time. Health, Performance & Service Map of your VM in a dashboard.
img_5c5c398d6e5f6.png Deploy to Single VM
For a single VM, go to the VMs blade, scroll down to the “Monitoring” section, select “Insights” and press “Try now”
img_5c5befca9f00a.png
The Azure Monitor Insights Onboarding wizard will open. If your VM is already onboard at a Log Analytics workspace just click Enable. Otherwize select a Log Analytics workspace or create one.
img_5c5bf00d38e8f.png
You will start seeing data form the VM in about 20-30 minutes. Deploy to multiple VMs using Azure Policy
For deploying to multiple VMs, the easiest way is to use Azure Policy
Go to the Azure Policy, select Assignments and press “Assign initiative”
img_5c5bf323455aa.png
The first option is the Scope. Press the three dots “…” at the Scope field. You can choose a a Management Group, a Subscription or a Resource Group. So if you just select a Management Group (And don’t select subscription and resource group), this policy will apply to all Subscriptions under the Management Group and of course to all resources of the subscription. If you choose a Subscription (and don’t select a resource group then the policy will apply to all resources of the subscription. Finally if you choose a resource group then the policy will apply only to this resource group. Later we will see how to select specific VMs in the Subscription or Resource group.
img_5c5bf406da69e.png
After selecting the Scope you can add exclusions. There you can check the VMs you don’t want this policy to apply.
img_5c5bf53425fb8.png
The next step is to select the Policy. At the BASICS section, press the three dots “…” near the “Initiative definition” and find the “Enable Azure Monitor for VMs”
img_5c5bf5453acfb.png
Next step is to configure the Parameters. There select the Log Analytics workspace that the VM will onboard, or create a new one. Optionally you can provide a list of VMs instead of adding all of them
img_5c5c2a45aefe4.png
Finally press Apply. Back at the Azure Policy main menu you will see the new Definition Assignment.
img_5c5c2d7e49db4.png View the Health / Performance / Service Map of the VMs
To view the Azure Monitor of the VMs, go to the VM that you have enabled Insights, select the Insights blade and you will be able to see the health status not only for the common CPU. Memory, Disk,
img_5c5c2df63d05c.png
But also for the services that run inside the VM and the Azure Monitor discovered.
img_5c5c2e899a90e.png
By clicking on any service you will have a list of all logs of this service
img_5c5c2f02bb5e2.png
At the performance section you have the ability to select time range and have performance analytics for a requisted period of time
img_5c5c2f410763d.png
Finally at the MAp, you have a service map of the services and ports that are open and listening
img_5c5c2f92b1c19.png

Product Documentation: https://docs.microsoft.com/en-us/azure/azure-monitor/insights/vminsights-overview

 Share

0 Comments


Recommended Comments

There are no comments to display.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...