How to Create an Alert-Generating SNMP-Trap-Based Rule in Operations Manager 2007

Applies To: Operations Manager 2007 R2, Operations Manager 2007 SP1

Use the following procedure to create a rule that will target the specified Management Group objects (such as SNMP Network Device), collect Simple Network Management Protocol (SNMP) traps, and potentially generate alerts for the specified SNMP object identifiers. You can then display this data by creating an event view. For information about SNMP, see http://go.microsoft.com/fwlink/?LinkId=71830.

To create an alert-generating SNMP trap collection rule in Operations Manager 2007

  1. Start the Operations Manager 2007 Create Rule Wizard.

    Note

    For information about starting the Create Rule Wizard, see How to Start the Create Rule Wizard in Operations Manager 2007.

  2. On the Select a Rule Type page, do the following:

    1. Expand Alert Generating Rules, expand Event Based, and then click SNMP Trap (Alert).

    2. Select a Management pack from the list or click New to create a management pack with the Create a Management Pack Wizard.

      Note

      The rule will be added to the specified management pack; therefore, only unsealed management packs are listed. By default, when you create a management pack object, disable a rule or monitor, or create an override, Operations Manager saves the setting to the Default Management Pack. As a best practice, you should create a separate management pack for each sealed management pack you want to customize, rather than saving your customized settings to the Default Management Pack. For more information, see Default Management Pack.

    3. Click Next.

  3. On the Rule Name and Description page, do the following:

    1. Type the Rule name, such as Routers Trap Alert Collection Rule.

    2. Optionally, type a Description for the rule.

    3. Click Select, select View all targets, click a target, such as SNMP Network Device, and then click OK.

      Important

      The target must be the SNMP Network Device object type or an object type derived from it.

    4. Leave Rule is enabled selected to have the rule take affect at the completion of the wizard, or clear the check box to enable the rule at a later time, and then click Next.

  4. On the Configure the trap OIDs to collect page, do the following:

    1. Leave Use discovery community string selected if you have only one SNMP community. If you have more than one SNMP community in your network click Use custom community string, and then type the name of the SNMP community that you want to monitor.

    2. Click to place the cursor in the Object Identifier Properties section and type the object identifier (OID) of each property of the network devices that you want to monitor, or select All Traps to monitor all targeted objects of the community, and then click Next.

  5. On the Configure Alerts page, set the properties of the alert, for example:

    1. Type the Name for the alert, such as Routers Traps Alert.

    2. Optionally, type the Alert description. You can also click the () button and select Target and Data variables to include in the description, such as IP Address.

    3. Select a Priority from the list, such as High.

    4. Select a Severity from the list, such as Error.

    5. Optionally, click Custom alert fields and type values, or click the () button and insert variables in the custom fields, and then click OK.

    6. Optionally, click Alert suppression, and then select one or more Fields of the alert. Alert suppression is useful when there are multiple alerts for the same issue.

    7. Click Create.