Export (0) Print
Expand All

Windows Azure Event Alerting Rule

Updated: August 12, 2011

Applies To: Operations Manager 2007

You create an event alerting rule for a Windows Azure application by using the Authoring console to create a custom rule including the event collection module included in the Monitoring Pack for Windows Azure Applications. This module retrieves events from Windows Azure storage on a periodic basis.

This procedure provides an example of how to create an event rule that generates an alert for a Windows Azure application. An alert is created when an event with a number of 100 is detected.

ImportantImportant
This procedure uses the Operations Manager Authoring console which is available as part of the System Center Operations Manager 2007 R2 Authoring Resource Kit (http://go.microsoft.com/fwlink/?LinkId=202663). This procedure cannot be completed using the Operations console.

TipTip
This procedures uses display names for the components of the management pack. To have the Authoring console use display names, on the Tools menu, click Options, and then click Use display names. If you do not select this option, then the console will use actual names which will be different than the display names used here.

noteNote
The event properties available to use in Windows Azure event rule criteria are the same as the properties for Windows events. These are listed in the Events section of the Management Pack Authoring Guide at http://go.microsoft.com/fwlink/?LinkId=205695. The only exception is the event description which is not currently available

noteNote
The criteria used for the Windows Azure event rule is formatted as an ExpressionType. This is documented with examples at http://go.microsoft.com/fwlink/?LinkId=205696.

To configure an event alerting rule for Windows Azure

  1. In the Authoring console, on the Tools menu, click Import MP from Management Group.

  2. In the Import MP from Management Group dialog box, select the name of the root management server in your management group and click Connect.

  3. In the Import from Management Group dialog box, select the management pack that you created when running the Windows Azure Application template and click Import.

  4. Click the Health Model navigation button.

  5. In the navigation pane, click Rules.

  6. In the Actions pane, click New, and then click Custom Rule.

  7. In the Choose a unique identifier dialog box, enter a name for your rule such as MyAzureApplication.EventAlertingRule, and then click OK. The Properties dialog box for the new rule opens.

  8. On the General tab, do the following:

    1. Enter a display name for the rule and, optionally, a description.

    2. In the Target box, select the role instance class for the Windows Azure application. This will have the name Windows Azure Role Instance followed by the name of the Windows Azure application enclosed in parentheses.

  9. On the Modules tab, do the following:

    1. Add a Data Source to collect events using the following procedure:

      1. In the Data Sources section, click Create.

      2. In the Choose module type dialog box, select Windows Azure Role Instance Event Log Collection Simple Data Source.

      3. Enter a name in the Module ID box such as DS, and then click OK.

      4. Click Edit.

      5. On the Configuration tab, enter the following values:

        • IntervalSeconds: 300

        • TimeoutSeconds: 60

    2. Add a Condition Detection to filter for a particular event using the following procedure:

      1. In the Condition Detection section, click Create.

      2. In the Choose module type dialog box, select System.ExpressionFilter.

      3. Enter a name in the Module ID box such as FilterNumber, and then click OK.

      4. Click Edit to edit the module.

      5. Click Configure to open the custom dialog box.

      6. Click Insert to add a criteria expression.

      7. Enter the following values:

        • Parameter Name: EventNumber

        • Operator: Equals

        • Value: 100

      8. Click OK to close the expression.

      9. Click OK to close the configuration.

    3. Add an Action to generate an alert using the following procedure:

      1. In the Actions section, click Create.

      2. Select System.Health.GenerateAlert.

      3. Enter a name in the Module ID box such as GenerateAlert, and then click OK.

      4. Click Edit to edit the module.

      5. Click Configure to open the custom dialog box.

      6. Enter a name for the alert, and set the Priority and Severity boxes to the value that you want the alert to have.

      7. Click OK to close the expression.

      8. Click OK to close the configuration.

  10. Click OK to save and close the rule.

  11. On the Tools menu, click Export MP to Management Group.

  12. In the Export MP from Management Group dialog box, select the name of the root management server in your management group and click Connect.

  13. Close the Authoring console.

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft