Last Update: Sep 04, 2024 | Published: Apr 20, 2018
This post will explain the improvements that Microsoft has made by making the next-generation alert system of Azure generally available.
An important part of any large or complex IT system is being able to ignore it until something goes wrong or, ideally, is about to go wrong. The key to this is being able to configure alerts if something breaks, an unexpected thing happens, or if a threshold is exceeded. Azure has had a system for creating alerts but it has a fragmented history. You could configure alerts in all kinds of places, such as a virtual machine, in a web app, in Log Analytics (OMS), in Azure Backup (recovery services vault), or in Activity Log. Slowly, all of this is being centralized into Azure Monitor. The real system for monitoring performance and managing all alerts in Azure.
The configuration of alerts was quite fragmented too. Recovery services vaults only handled notifications by email. Log Analytics had its own complete system. Activity Log used a combination of Action Groups and alerts, which offered a lot of functionality. Azure monitor resource alerts were more powerful than those in the recovery services vault but still didn’t offer alerts by SMS text message.
After a fairly long public preview, Azure has made the next generation alert system generally available. With this new system, we see a unification of the methods used by Activity Log and Azure Monitor resources.
An Action Group allows you to define how a notification is configured. You can select a method of notifying people, and how those people are notified:
You can also configure automated notifications:
You can configure one or more Action Groups and reuse them with different alerts, depending on the scenario. For example, most alerts might notify administrators of an issue. Some results, such as a successful backup by Azure Backup, might result in an email to a mailbox for proof-of-backup only and others might require some sort of automated response.
You can create alerts in Azure Monitor. The process consists of the following steps:
This new system allows you to create alerts for entire groups of virtual machines or resources that we could not do before and create complex human or automated responses.
Microsoft also recently announced that Log Analytics will be leveraging the new alert system found in the Azure Portal, giving evidence to the maturing alerting system of Microsoft’s cloud.