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
-
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. -
On the Select a Rule Type page, do the following:
- Expand Alert Generating Rules, expand Event
Based, and then click SNMP Trap (Alert).
- 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. - Click Next.
- Expand Alert Generating Rules, expand Event
Based, and then click SNMP Trap (Alert).
-
On the Rule Name and Description page, do the following:
- Type the Rule name, such as Routers Trap Alert
Collection Rule.
- Optionally, type a Description for the rule.
- 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. - 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.
- Type the Rule name, such as Routers Trap Alert
Collection Rule.
-
On the Configure the trap OIDs to collect page, do the following:
- 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.
- 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.
- 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.
-
On the Configure Alerts page, set the properties of the alert, for example:
- Type the Name for the alert, such as Routers Traps
Alert.
- 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.
- Select a Priority from the list, such as
High.
- Select a Severity from the list, such as
Error.
- Optionally, click Custom alert fields and type values,
or click the (…) button and insert variables in the custom
fields, and then click OK.
- 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.
- Click Create.
- Type the Name for the alert, such as Routers Traps
Alert.
Did you find this information useful? Please send your suggestions and comments about the documentation.