Export (0) Print
Expand All
2 out of 6 rated this helpful - Rate this topic

How to: Receive Alert Notifications and Manage Alert Rules in Windows Azure

Updated: January 16, 2014

You can receive an alert based on monitoring metrics for your Windows Azure services. An alert rule enables you to monitor a Windows Azure service based on a metric value. When the value of a specified metric violates the threshold assigned for a rule, the alert rule becomes active and registers an alert.

When you create an alert rule, you can select options to send an email notification to the service administrator and co-administrators or to another administrator that you can specify. A notification email is sent when the rule becomes active, and when an alert condition is resolved.

ImportantImportant
Before you can create an alert rule to monitor availability information for Windows Azure Web Sites and Mobile Services, you first need to enable endpoint monitoring for the appropriate resource.

To enable endpoint monitoring, go to the CONFIGURE page for the associated resource and edit the Endpoints setting in the monitoring section.

For more information, see Understanding Monitoring Alerts and Notifications in Windows Azure.

To create an alert rule

  1. Open the Windows Azure Management Portal.

  2. In the navigation pane, click Management Services.

  3. On the Management Services page, click Alerts, and then click Add Rule. The Create Alert Rule wizard appears.

  4. On the Define Alert page, provide the following information, and then go to the next page.

    • A name for the rule. The rule name can contain up to 32 characters, and must start with a letter of the alphabet.

    • A description for the rule is optional. The description can be up to 128 characters long.

    • The type of service. Select the service type in the drop-down list.

    • The service name. Select the service name in the drop-down list.

    • Cloud service deployment. (Cloud service only)

    • Cloud service role. All monitoring metrics for which you can alert are aggregated at the role level. (Cloud service only)

  5. On the Define a condition for notifications page, do the following:

    • Select the metric that you want the alert rule to monitor.

    • Specify the Condition and Threshold Value for the rule. The threshold value relates to the format that appears in the Unit field.

    • Select an Alert Evaluation Window. This is the period of time that Windows Azure uses to monitor and plot alert activity.

    • If desired, select options in Actions to send email notification to responsible administrators.

      noteNote
      You can choose to send an email notification to the service administrator and co-administrators when the rule becomes active, and when an alert condition is resolved. You can also choose to send notification to one additional email address that you specify.

    • Select the Enable Rule check box to turn on the rule. Clear the check box to turn off the rule.

  6. Click the check to complete the process.

TipTip
You can create up to 10 alert rules for each Windows Azure subscription. If you reach the maximum number of allowable rules, you must remove an existing rule before you can create another.

Editing alert rules

You can use the Edit Rule action to change the following monitoring settings for an alert rule:

  • The name and description of the rule

  • The rule condition and threshold value

  • The notification actions

You cannot change the service type, service name, or the metric being monitored. If you need a rule to monitor other services or metrics, you must create a new rule.

Disabling alert rules

When you create an alert rule, the Enable Rule option is selected by default. The easiest way to disable a rule is to select a rule on the Alerts page in Management Services, and then click the Disable Rule action.

Deleting alert rules

When you delete an alert rule, the rule is removed completely from the system, and Windows Azure ceases to monitor the metric and condition.

To delete an alert rule

  • Select a rule on the Alerts page in Management Services, and then click the Delete Rule action.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.