Listen for SNMP traps and turn them into events Connects to the
TrapService service in zenhub.
|
|
|
doTask(self)
This is a wait-around task since we really are called asynchronously. |
source code
|
|
|
isReplaying(self)
@returns True if we are replaying a packet instead of capturing one |
source code
|
|
string
|
|
dictionary
|
|
string
|
|
Python FakePacket object
|
|
|
|
Twisted deferred object
|
oid2name(self,
oid,
exactMatch=True,
strip=False)
Returns a MIB name based on an OID and special handling flags. |
source code
|
|
|
_pre_parse(self,
session,
transport,
transport_data,
transport_data_length)
Called before the net-snmp library parses the PDU. |
source code
|
|
|
receiveTrap(self,
pdu)
Accept a packet from the network and spin off a Twisted deferred to
handle the packet. |
source code
|
|
|
getPacketIp(self,
addr)
For IPv4, convert a pointer to 4 bytes to a dotted-ip-address For
IPv6, convert a pointer to 16 bytes to a canonical IPv6 address. |
source code
|
|
|
processPacket(self,
ip_address,
port,
pdu,
ts)
Wrapper around asyncHandleTrap to process the provided packet. |
source code
|
|
|
|
|
|
|
snmpInform(self,
addr,
pdu)
A SNMP trap can request that the trap recipient return back a
response. |
source code
|
|
|
|
|
|
Twisted deferred object
|
|
|
|
|
|
Inherited from ZenUtils.captureReplay.CaptureReplay :
buildCaptureReplayOptions ,
capturePacket ,
processCaptureReplayOptions ,
replayAll ,
replayStop
|