Why you hear about it too late
Azure already collects plenty of data about your resources: CPU, memory, disk space, errors, response times. But by default, nobody gets told anything. The charts are there, and nobody looks at them at the right moment.
The goal is not to watch everything. It is to hear about the few things that really get in the way of work: the website or app stops responding, a server is down, a disk is nearly full, a backup has failed.
Test what your users see
The first alert to set up looks at your service from the outside, the way a customer does. In Application Insights, an availability test calls your website or API every few minutes from several regions around the world. If the page stops answering, or answers with the wrong code, you know about it.
Set the alert to fire only when several regions fail at the same time. One region failing on its own is often a passing network glitch, not an outage.
A few alerts on your resources
Next, add alerts on the resources behind the service: virtual machines, databases, App Service. For a virtual machine, the Azure portal offers recommended alert rules you can switch on in a few clicks: high CPU, low available memory, low disk space, a machine that stops responding.
Turn on Resource Health alerts too. They tell you when a resource becomes unavailable, and whether the cause is on your side or on the Azure platform.
Know when Azure itself has a problem
Sometimes the outage is not yours at all. Azure Service Health lists the incidents, planned maintenance and advisories that affect your subscriptions, regions and services. Create a Service Health alert so they come straight to you, instead of finding out afterwards.
When the incident is on the Azure side, you save time: there is no point hunting for a bug in your code or your settings. You let your users know and follow Microsoft's updates.
Get the alert to the right person
An alert is useless if it lands in a mailbox nobody reads. In Azure Monitor, action groups decide who gets told and how: email, text message, a push notification in the Azure mobile app, a voice call, or a webhook to your ticketing tool.
Keep two levels. Anything that blocks users deserves a text or a call, even in the evening. The rest, like a disk slowly filling up, can wait for an email the next morning.
Cut the noise
Send too many alerts and people stop reading them. Every alert should lead to a clear action. If one keeps firing and nobody does anything about it, change its threshold or delete it.
For each important alert, write three lines: what it means, what to check first, and who to call if you cannot find the cause. At night, those three lines save a lot of time.
Where to start
Start with an availability test on your main website or app, and a Service Health alert. Then add the recommended alert rules on your important machines, and set up action groups so each alert reaches the right person. Half a day of work, and you are no longer the last to know.
That is exactly what our Azure services are about.