SNMP Trap
- Last Updated: December 11, 2024
- 2 minute read
- WhatsUp Gold
- Version 2024
The SNMP Trap monitor listens for unsolicited messages from a monitored network device notifying WhatsUp Gold of a specific event. The monitor can be configured to listen for all SNMP traps or for only specific types.
Provide a unique name and description for the monitor, then configure the following:
- Generic Type (Major). Select the SNMP Trap type. Each trap has a generic type number which is part of the rule determining the matching criteria for an incoming trap.
- Specific Type (Minor). Enter an integer value from 0 to 4294967296. Please note, the Generic Type (Major) must be set to Enterprise Specific.
- Enterprise/OID. 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. Please note, this option is only available if Generic Type is set to 6-EnterpriseSpecific.
- Payload. Click (
) to launch the Rules Expression Editor to create an expression, test it, and compare it to potential payloads.
Important: 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".
Important: Although SNMPv1/SNMPv2 Traps do not require authentication,
the WhatsUp Gold application requires that the credential in the SNMP Trap match the
credential assigned to the device in order for the SNMP Trap to be collected
successfully.