The SNMP Trap agent uses its own static UDR type called SnmpTrapUDR. There is also a special static UDR called FlatSnmpUDR used for unresolved triggered requests.

The SnmpTrapUDR contains data from a received SNMP trap, received by the SNMP Trap agent.

trapSource (string)
The IP address or the remote host sending the trap.
receiveTime (long)

The UTC timestamp when the SNMP trap notification was received by the agent.

sysUpTime (string)
Value of sysUpTime (time since last reboot). 0 as of RFC3418.
trapOid (string)

Value of snmpTrapOID, unique trap Object Identifier (OID). 0 as of RFC3418.

trapName (string)
The name of the trap, resolved from loaded MIB data.
isGeneric (boolean)
This is a flag telling if the trap OID is a sub OID of snmpTraps as specified in RFC3418. True if trap is generic, false if enterprise-specific.
pduType (string)
The type of the SNMP PDU as a string (TRAPv1, TRAPv2, INFORM).
oidToName (map<string,string>)
A map of all OIDs in this trap to their resolved name from the MIB data. Maps OID to name (for variable bindings).
oidToValue (map<string,string>)
A map of all OIDs in this trap to their values. Maps OID to value (for variable bindings).


Example - linkDown trap

Receive Time: 2016/09/22 11:08:13
SysUpTime: 7 days, 21:59:48.75
Trap OID:
Trap Name: linkDown
Generic: true
<Trap Varbinds>

ifOperStatus( = 2
ifAdminStatus( = 2
ifIndex( = 1