แก้ไข

แชร์ผ่าน


Use alert processing rules to manage alert notifications on Azure Stack Edge devices

APPLIES TO: Yes for Pro GPU SKUAzure Stack Edge Pro - GPUYes for Pro 2 SKUAzure Stack Edge Pro 2Yes for Pro R SKUAzure Stack Edge Pro RYes for Mini R SKUAzure Stack Edge Mini R                  

This article describes how to create alert processing rules in the Azure portal. Alert processing rules trigger or suppress notifications for device events that occur within a resource group, an Azure subscription, or an individual Azure Stack Edge resource.

About alert processing rules

An alert processing rule can add action groups to alert notifications. Use alert notification preferences, like email or SMS messages, to notify users when alerts are triggered.

For more information about alert processing rules, see Alert processing rules. For more information about action groups, see Create and manage action groups in the Azure portal.

Create an alert processing rule

Use the following steps in the Azure portal to create an alert processing rule for your Azure Stack Edge device.

Note

These steps create an alert processing rule. The alert processing rule adds action groups to alert notifications. For details about creating an alert processing rule to suppress notifications, see Alert processing rules.

  1. Go to the Azure Stack Edge device in the Azure portal, and select the Alerts menu item (under Monitoring). Then select Alert processing rules.

    Screenshot showing the Alerts page for an Azure Stack Edge resource. The Alert processing rules option is highlighted.

  2. On the Alert processing rules page, select + Create to launch the Create an alert processing rule wizard.

    Screenshot showing the Alert processing rules page for an Azure Stack Edge resource. The Plus Create rules option is highlighted.

  3. On the Scope page, select + Select scope.

    Screenshot showing the Scope menu in the Create an alert processing rule wizard for an Azure Stack Edge resource. The Plus Select scope option is highlighted.

  4. Select a Subscription and optionally filter by Resource types. To filter by Azure Stack Edge resources, select Resource types for Azure Stack Edge / Data Box Gateway as shown in the following example.

    Screenshot showing the Select a scope menu for an Azure Stack Edge resource. The Select subscription and Resource types dropdown menus are highlighted.

  5. The Resource type option lists the available resources based on your selection. Use the filter option to reduce the list of options. Select the Checkbox for the scope option you want to work with and then select Apply.

    Illustration of the Scope options for alert processing rule in Azure Stack Edge with the "asegpu" option selected.

  6. You can also use the Filter control in the following example to reduce the list of options to a subset of alerts within the selected scope.

    Screenshot of the filter control to reduce the list of options for setting the scope for alert processing rules in Azure Stack Edge.

  7. On the Add filters pane, under Filters, add each filter you want to apply. For each filter, select the Filter type, Operator, and Value.

    For a list of filter options, see Filter criteria.

    The filters in the following example apply to all alerts at Severity levels 2, 3, and 4 that the Monitor service raises for Azure Stack Edge resources.

    Screenshot of the filter criteria builder for an action rule in Azure Stack Edge.

  8. On the Rule Settings page, select Apply action group to create a rule that sends notifications.

    Select an option to + Select action group for an existing group or + Create action group to create a new one.

    To create a new action group, select + Create action group and follow the steps in Alert processing rules.

    Note

    Select the Suppress notifications option if you don't want to invoke notifications for alerts. For more information, see Alert processing rules.

    Screenshot of the rule setting options for rule type and action group options for an action rule in Azure Stack Edge.

  9. On the Select action groups page, select up to five action groups to attach to the alert processing rule, and then choose Select.

    The new alert processing rule is added to the notification preferences of the action group.

    Screenshot of the Select action groups page for an action rule in Azure Stack Edge.

  10. On the Details tab, assign the alert processing rule to a Resource group and then specify a Name and a Description (optional) for the new rule.

    The new rule is enabled by default. If you don't want to start using the rule immediately, leave the Enable rule upon creation option unchecked.

    Screenshot of the Project details page for an alert processing rule in Azure Stack Edge. This page also shows Alert processing rule details.

  11. To continue, select Review+Create.

    Screenshot of the action group details for an alert processing rule in Azure Stack Edge.

  12. Review your selections and then select Create.

    The Alert processing rules page launches, but you may not see the new rule immediately. The default view is All resource groups.

  13. To view your new alert processing rule, select the resource group that contains the rule.

    Screenshot of the Alert processing rules in Azure Stack Edge with the Resource groups filter highlighted.

View notifications

Notifications go out when an event triggers an alert for a resource within the scope of an alert processing rule.

The action group for an alert processing rule determines who receives a notification and the type of notification to send. Notifications can be sent via email, SMS message, or both.

It may take a few minutes to receive notifications after an alert is triggered.

The email notification looks similar to the following example.

Screenshot showing a sample email notification for an action rule for an Azure Stack Edge resource.

Next steps