Azure is configured by the IT services so that certain resources automatically set up alerting. There are two concepts:
- Resource-independent: There is a central location for resource-independent alerting. This is stored in a separate Resource Group within the Subscription. It usually has the name
rg-amba-switzerlandnorth-001. - Resource-specific: When you create a resource for which an alert rule is defined, an alert rule is automatically created in the Resource Group.
The configuration process is identical for both concepts.
Structure
architecture-beta
group subscription(azure:subscriptions)[Subscription]
group resourceGroup(azure:resource-groups)[Resource Group] in subscription
group ambaResourceGroup(azure:resource-groups)[AMBA Resource Group] in subscription
service alertService(azure:alerts)[Alerts] in resourceGroup
service alertAmba(azure:alerts)[Alerts] in ambaResourceGroup
service collection(azure:data-collection-rules)[Alert Collection] in ambaResourceGroup
service alertGroup(azure:groups)[Alert Group] in ambaResourceGroup
service user(azure:users)[User]
alertAmba:B --> T:collection
alertService:R --> L:collection
collection:R --> L:alertGroup
user:T --> B:alertGroup
As shown in the previous diagram, there are two resources relevant for alerting:
- The Alert Rule determines when an alert occurs. This resource already contains suggested values.
- The Alert Collection determines who is notified in case of an alert.
Customization
See this tutorial to learn how to customize an alert rule.
Next Steps
If you have a Corp Subscription, this article explains the most important differences compared to other Subscription types. If you prefer working in the terminal rather than entering data on the website, there is an article here about using the Azure CLI.