
close
close
Chance to win $250 in Petri 2023 Audience Survey
In today’s Ask the Admin, I’ll show you how to set up alerts in Azure Monitor.
In Azure Monitor: Creating Metrics on the Petri IT Knowledgebase, I showed you how to set up metrics in Azure Monitor. The last piece of the Azure Monitor puzzle is to set up alerts, and in this article, I’ll show you how to do that using a metric as source information, so be sure to look at the article on metrics that I previously mentioned.
Before following the steps below, you’ll need access to an Azure subscription. If you don’t have one, you can sign up for a free trial here.
Add an alert in Azure Monitor (Image Credit: Russell Smith)
Alternatively, if you want to create an alert using a metric as the information source, you can click + Add metric alert after creating the metric as described in Azure Monitor: Creating Metrics.
In this example, in the Source section of the Add rule panel, the Alert on menu is set to Metrics. I can’t change this because diagnostic logging for the VM is not enabled. Additionally, because diagnostic logging is not enabled for the VM, there’s a limited set of metrics available to choose from. Although it’s not important for demonstrating how to create an alert, in a production environment you might want to enable diagnostic logging for VMs, which can be done in the Settings panel for each VM.
Add an alert in Azure Monitor (Image Credit: Russell Smith)
The alert should take a few seconds to create and then appear in the Monitor – Alerts panel. Tenant users that have been assigned the Owner, Contributor, or Reader access role, will receive an alert via email.
In this article, I showed you how to set up an alert in Azure Monitor using a metric.
More in Cloud Computing
Microsoft Launches Office 365 Government Secret Cloud to Handle Classified Data
Jan 31, 2023 | Rabia Noureen
What Are the Best Hyperconverged Infrastructure (HCI) Solutions on the Market?
Jan 9, 2023 | Sukesh Mudrakola
Most popular on petri