AVS HOL LAB13B – Configure Alerts and Notifications

In this lab you’ll learn how to configure Azure Action Groups in Microsoft Azure Alerts to receive notifications of triggered events that you define. You’ll also learn about using Azure Monitor Metrics to gain deeper insights into your Azure VMware Solution Private Cloud.

Supported metrics and activities

The following metrics are visible through Azure Monitor Metrics.

Signal name Signal type Monitor service
Datastore Disk Total Capacity Metric Platform
Percentage Datastore Disk Used Metric Platform
Percentage CPU Metric Platform
Average Effective Memory Metric Platform
Average Memory Overhead Metric Platform
Average Total Memory Metric Platform
Average Memory Usage Metric Platform
Datastore Disk Used Metric Platform
All Administrative operations Activity Log Administrative
Register Microsoft.AVS resource provider. (Microsoft.AVS/privateClouds) Activity Log Administrative
Create or update a PrivateCloud. (Microsoft.AVS/privateClouds) Activity Log Administrative
Delete a PrivateCloud. (Microsoft.AVS/privateClouds) Activity Log Administrative

Configure an alert rule

  1. From your Azure VMware Solution Private Cloud, select Monitoring > Alerts, and then New alert rule.

    new alert rule

    A new configuration screen opens where you’ll:

    • Define the Scope

    • Configure a Condition

    • Set up the Action Group

    • Define the Alert rule details

    create alert rule

  2. Under Scope, select the target resource you want to monitor. By default, the Azure VMware Solution Private Cloud from where you opened the Alerts menu has been defined.

  3. Under Condition, select Add condition, and in the window that opens, selects the signal you want to create for the alert rule.

    In this example, you’ve selected Percentage Datastore Disk Used, which is relevant from an Azure VMware Solution SLA perspective.

    Screenshot that shows the Configure signal logic window with predefined
signal names.

  4. Define the logic that will trigger the alert and then select Done.

    In our example, only the Threshold and Frequency of evaluation have been adjusted.

    Screenshot that shows the information for the selected signal
logic.

  5. Under Actions, select Add action groups. The action group defines how the notification is received and who receives it. You can receive notifications by email, SMS, Azure Mobile App Push Notification or voice message.

    Screenshot that shows the existing action groups and where to create a new
action group.

  6. In the window that opens, select Create action group.

    Tip

    You can also use an existing action group.

    Screenshot that shows the action groups to select for the
alert.

  7. In the window that opens, on the Basics tab, give the action group a name and a display name.

  8. Select the Notifications tab, select a Notification Type and Name. Then select OK.

    This example is based on email notification.

    Screenshot that shows the email, SMS message, push, and voice settings for
the alert.

  9. (Optional) Configure the Actions if you want to take proactive actions and receive notification on the event. Select an available Action type and then select Review + create.

    • Automation Runbooks

    • Azure Functions – for custom event-driven serverless code execution

    • ITSM – to integrate with a service provider like ServiceNow to create a ticket

    • Logic App - for more complex workflow orchestration

    • Webhooks - to trigger a process in another service

      Screenshot that shows the Create action group window with a focus on
the Action type drop-down.

  10. Under the Alert rule details, provide a name, description, resource group to store the alert rule, the severity. Then select Create alert rule.

    Screenshot that shows the details for the alert
rule.

    The alert rule is visible and can be managed from the Azure portal.

    Screenshot that shows the new alert rule in the Rules
window.

    As soon as a metric reaches the threshold as defined in an alert rule, the Alerts menu is updated and made visible.

    Screenshot that shows the alert after reaching the threshold
defined.

    Depending on the configured Action Group, you’ll receive a notification through the configured medium. In our example, you’ve configured email.

    Screenshot of an Azure Monitor Alert with the error string, and the date
and time event was triggered.

Work with metrics

  1. From your Azure VMware Solution Private Cloud, select Monitoring > Metrics. Then select the metric you want from the drop-down.

    Screenshot that shows the Metrics window and a focus on the Metric
drop-down.

  2. You can change the diagram’s parameters, such as the Time range or the Time granularity.

    Other options are:

    • Drill into Logs and query the data in the related Log Analytics workspace

    • Pin this diagram to an Azure Dashboard for convenience.

      Screenshot that shows the time range and time granularity options for
metric.

Next Steps

Back to Table of Content

Lab 14