Site icon TechGit

Azure Monitor: Creating Alerts

figure1-1-5415958

 

azure-cloud-data-hero-1280x718-8606339

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.

Configure Alerts

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.

figure1-1-5415958

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.

figure2-2208690

Add an alert in Azure Monitor (Image Credit: Russell Smith)

Sponsored

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.

The post Azure Monitor: Creating Alerts appeared first on Petri.

FacebookTwitterTumblrRedditLinkedInHacker NewsDiggBufferGoogle ClassroomThreadsXINGShare
Exit mobile version