Adding and editing an SNMP Trap Passive monitor

The SNMP Trap monitor listens for any (all) or specific SNMP traps. SNMP traps enable an SNMP device agent to notify on significant events through unsolicited SNMP messages, or traps. For more information, see Cisco's Understanding SNMP Traps.

To add or edit an SNMP trap passive monitor:

  1. Click the Admin tab, then click Monitor Library. The Monitor Library dialog appears.
  2. Click the Passive tab. The Passive Monitor list appears.
  3. Click New and select SNMP Trap from the list to create a new SNMP trap passive monitor.
    - or -
    Select the SNMP trap passive monitor you want to change from the list of current monitors , and then click Edit.
  4. Complete the information for the following boxes.
    • Name. Enter a name for the monitor. This name displays in the Passive Monitor Library.
    • Description. Enter a short description for the monitor. This description displays next to the monitor in the Passive Monitor Library.
    • Enterprise/OID. Use Browse to select the desired object identifier (OID) from the Enterprise section of the MIB. This is the SNMP enterprise identifier in the trap, which is used for unique identification of traps for a particular application. If you specify the OID in this box, then an incoming trap matches this rule only if the trap enterprise box begins with the OID that you have specified. If you are unsure of the OID to use, or you do not need to be specific, you can leave this box blank and it is ignored.

    Note: This option is only available if Generic Type is set to 6-EnterpriseSpecific.

    • Generic Type (Major). Each trap has a generic type number. This number is part of the rule that determines the matching criteria for an incoming trap. For more information, see Common SNMP Traps.

    Note: The definitions of 0 through 6 are not WhatsUp Gold definitions, but come from the SNMP specifications.

    • Specific Type (Minor). This can have an integer value from 0 to 4294967296. To use this option, Generic Type must be always enterprise-specific. If you want to ignore this box, select Any.
    • Payload. Click Add to view the Expression Editor where you can create an expression, test it, and compare it to potential payloads. After creating an expression, click OK to insert that string into the list under Match On.
  5. Click the Add button to view the Expression Editor where you can create an expression, test it, and compare it against potential payloads you can receive. After creating the expression, click OK to insert that string into the Match on box.

    Note: If you have multiple payload "match on" expressions, they are linked by "OR" logic—not "AND" logic. If you have two expressions, one set to "AB" and the other to "BA", it matches against a trap containing any of the following: "AB" or "BA" or "ABBA".

  6. Click OK to add the monitor to the Passive Monitor Library.

After configuring a passive monitor in the Passive Monitor Library, add the monitor to devices.

See Also

Using the Passive Monitor Library

Adding and Editing a Syslog Monitor

Adding and Editing a Windows Event Log Monitor

Using the Any Passive Monitor