Class | SNMP::SNMPv1_Trap |
In: |
lib/snmp/pdu.rb
|
Parent: | Object |
The PDU class for traps in SNMPv1.
GENERIC_TRAP_NAME | = | { 0 => :coldStart, 1 => :warmStart, 2 => :linkDown, 3 => :linkUp, 4 => :authenticationFailure, 5 => :egpNeighborLoss, 6 => :enterpriseSpecific | Name map for all of the generic traps defined in RFC 1157. | |
GENERIC_TRAP_CODE | = | GENERIC_TRAP_NAME.invert | Code map for all of the generic traps defined in RFC 1157. |
varbind_list | -> | vb_list |
agent_addr | [RW] | |
enterprise | [RW] | |
source_ip | [RW] | Returns the source IP address for the trap, usually derived from the source IP address of the packet that delivered the trap. |
specific_trap | [RW] | |
timestamp | [RW] | |
varbind_list | [RW] |