Sending SNMP Traps for Metric Alerts

Task

You want to configure Enterprise Manager to send event information (for example, a metric alert) via SNMP trap to an HP Openview console. This is done in two phases

  1. Create a notification method to send the SNMP Trap.

  2. Create an incident rule to send an SNMP trap when a metric alert is raised.

User Roles

  • Enterprise Manager Administrator

Prerequisites

How to do it:

Create a notification method based on an SNMP Trap.

For instructions, see Sending SNMP Traps to Third Party Systems

Create an incident rule to send an SNMP trap when a metric alert is raised.

  1. From the Setup menu, select Incidents, then select Incident Rules.

    The Incident Rules - All Enterprise Rules page displays.

  2. On the Incident Rules - All Enterprise Rules page, click Create Rule Set... The Create Rule Set page displays.

  3. Enter the rule set Name, a brief Description, and select the type of source object the rule Applies to (Targets).

  4. Click on the Rules tab and then click Create...

  5. On the Select Type of Rule to Create dialog, select Incoming events and updates to events and then click Continue.

  6. On the Select Events page, set the criteria for events based on which the rule should act. In this case, choose Metric Alert from the drop down list.

    Click Next.

  7. Select the Specific events of type Metric Alert option. A metric selection area displays:

    In this example, we only want to send notifications for CPU % Utilization greater reaches the defined Critical threshold.


    metric selection area

  8. Choose Severity Critical from the drop down menu.

    Click OK.

  9. Click Next.

  10. On the Create New Rule : Add Actions page, click Add. The Add Conditional Actions page displays.

  11. In the Notifications section, under Advanced Notifications, select an existing SNMP trap notification method.

    For information on creating SNMP trap notification methods, see Sending SNMP Traps to Third Party Systems.

  12. Click Continue to return to the Create New Rule : Add Actions page.

  13. Click Next to go to the Create New Rule : Specify Name and Description page.

  14. Specify a rule name and a concise description and then click Next.

  15. Review the rule definition and then click Continue add the rule to the rule set. A message displays indicating the rule has been added to the rule set but has not yet been saved. Click OK to close the message.

  16. Click Save to save the rule set. A confirmation is displayed. Click OK to close the message.

What you have accomplished:

At this point, you have created an incident rule set that instructs Enterprise Manager to send an SNMP trap to a third-party system whenever a metric alert is raised (%CPU Utilization).

What's next?