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:
- Click the tab, then click . The Monitor Library dialog appears.
- Click the tab. The Passive Monitor list appears.
- Click and select 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 . - Complete the information for the following boxes.
- . Enter a name for the monitor. This name displays in the Passive Monitor Library.
- . Enter a short description for the monitor. This description displays next to the monitor in the Passive Monitor Library.
- . Use 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.
: This option is only available if is set to .
: The definitions of 0 through 6 are not WhatsUp Gold definitions, but come from the SNMP specifications.
- . This can have an integer value from 0 to 4294967296. To use this option, must be always enterprise-specific. If you want to ignore this box, select .
- . Click to view the Expression Editor where you can create an expression, test it, and compare it to potential payloads. After creating an expression, click to insert that string into the list under .
- Click the 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 to insert that string into thebox.
: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".
- Click to add the monitor to the Passive Monitor Library.
After configuring a passive monitor in the Passive Monitor Library, add the monitor to devices.