Configure Azure Monitor alerts

  1. Home
  2. Configure Azure Monitor alerts

Go back to DP-200 Tutorials

In this we will learn how to monitor alerts for databases in Azure SQL Database and Azure Synapse Analytics using the Azure portal. Alerts can send you an email or call a web hook when some metric (for example database size or CPU usage) reaches the threshold.

However, you can receive an alert based on monitoring metrics for, or events on, your Azure services.

  • Firstly, Metric values – The alert triggers when the value of a specified metric crosses a threshold you assign in either direction. That is, it triggers both when the condition is first met and then afterwards when that condition is no longer being met.
  • Secondly, Activity log events – An alert can trigger on every event, or, only when a certain number of events occur.
DP-200 practice tests

And, you can configure an alert to do the following when it triggers:

  • Firstly, send email notifications to the service administrator and co-administrators
  • Then, send email to additional emails that you specify.
  • Lastly, call a webhook

Create an alert rule on a metric with the Azure portal

  • Firstly, in the portal, locate the resource you are interested in monitoring and select it.
  • Secondly, select Alerts in the Monitoring section. The text and icon may vary slightly for different resources.
  • Thirdly, select the New alert rule button to open the Create rule page. Create rule
  • Then, in the Condition section, click Add.
  • Next, in the Configure signal logic page, select a signal.
  • After selecting a signal, such as CPU percentage, the Configure signal logic page appears.
  • Then, on this page, configure that threshold type, operator, aggregation type, threshold value, aggregation granularity, and frequency of evaluation. Then click Done.
  • And, on the Create rule, select an existing Action group or create a new group. An action group enables you to define the action to be taken when an alert condition occurs.
  • Lastly, define a name for the rule, provide an optional description, choose a severity level for the rule, choose whether to enable the rule upon rule creation, and then click Create rule alert to create the metric rule alert.
Configure Azure Monitor alerts DP-200 Online course

Reference: Microsoft Documentation

Go back to DP-200 Tutorials

Menu