Share via


Generating SNMP Traps from MOM

MOM can send alerts to other applications by generating Simple Network Management Protocol (SNMP) traps. MOM can generate an SNMP trap as a response for alert or event rules. By using SNMP traps, the alerts and events in MOM can be monitored or used by SNMP management applications.

In addition to being a MOM-managed computer, any computer that generates a trap must have the SNMP service installed and running.

MOM can generate SNMP traps as a response for both alert and event rules. An alert rule can specify that an SNMP trap is generated for all alerts or alerts matching criteria such as the alert source, severity, rule group, computer, domain, and time. The SNMP trap will convey information as described in the MOM Management Information Base. For more information about the MOM Management Information Base, see MicrosoftOperationsManager.mib.

Note Note   

MOM event rules support using the SNMP Trap Catcher and SNMP Extended Trap Catcher data providers as event sources. Event rules that catch SNMP traps allow you to monitor computers and other devices that rely on SNMP for their instrumentation. For more information, see the MOM Installation Guide.

To send an SNMP trap as a response to an alert

  1. Install an SNMP management application on the computer that will serve as the SNMP trap destination.

    Consult the documentation for your SNMP management product for installation requirements and instructions. The SNMP trap destination is usually required.

  2. Install the SNMP service on the computers that will generate the SNMP trap.

    For flexibility, MOM allows SNMP traps to be generated from servers running MOM or MOM agents. The computer name or IP address of the SNMP trap destination is required when the SNMP service is installed on the server running MOM or agent computers. For information about installing the SNMP service, see Configuring the SNMP Service.

  3. In the MOM Administrator console, create and deploy an alert rule that generates an SNMP trap. An alert rule will allow you to generate an SNMP trap as a common response for all alerts that match the criteria you specify in the rule.

    For an example of creating an alert rule that generates an SNMP trap, see How to Generate an SNMP Trap for an Alert.