< Previous Challenge - Home - Next Challenge >
In this challenge you will explore VM Insights - an additional solution to monitor virtual machines.
VM Insights monitors the performance and health of your Virtual Machines and Virtual Machine Scale Sets. It monitors their running processes and dependencies on other resources. VM insights can help deliver predictable performance and availability of vital applications by identifying performance bottlenecks and network issues. It can also help you understand whether an issue is related to other dependencies. VM insights stores its data in Azure Monitor Logs, which allows it to deliver powerful aggregation and filtering and to analyze data trends over time. You can view this data in a single VM from the Virtual Machine blade directly. Or, you can use Azure Monitor to deliver an aggregated view of multiple VMs.
Different installation methods are available for enabling VM Insights: Azure Portal, ARM/Bicep Templates, Azure Policy, PowerShell/Azure CLI. Azure Policy lets you set and enforce requirements for all new resources you create and resources you modify. VM insights policy initiatives, which are predefined sets of policies created for VM Insights, install the agents required for VM insights and enable monitoring on all new virtual machines in your Azure environment. In this challenge you will explore how to enable VM insights manually in the Azure Portal and by using predefined VM Insights policy initiatives.
In this challenge you need to complete the following management tasks:
Note Make sure you select Azure Monitor agent and NOT Log Analytics agent. Use the same Log Analytics workspace as previously
law-wth-monitor-d-xx
.
Bonus task:
xxx-rg-wth-monitor-d-xx
.
Note Azure Policy lets you set and enforce requirements for all new resources you create and resources you modify. To remediate already existing resources, you need to run a remediation task after resource compliance status is available (this can take from several minutes to several hours. There’s no pre-defined expectation of when the compliance evaluation cycle completes).