Listen for SNMP traps and turn them into events Connects to the
TrapService service in zenhub.
|
|
|
|
|
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
|
|
|
|
receiveTrap(self,
pdu)
Accept a packet from the network and spin off a Twisted deferred to
handle the packet. |
source code
|
|
|
|
|
|
Twisted deferred object
|
|
|
|
|
|
Inherited from EventServer.EventServer:
connected,
heartbeat,
model,
report,
reportCycle,
sendEvent,
useTcpFileDescriptor,
useUdpFileDescriptor
Inherited from ZenHub.PBDaemon.PBDaemon:
connect,
connectTimeout,
eventService,
getInitialServices,
getService,
getServiceNow,
gotPerspective,
pushEvents,
pushEventsLoop,
remote_getName,
remote_setPropertyItems,
remote_shutdown,
remote_updateThresholdClasses,
run,
sendEvents,
setExitCode,
sigTerm,
stop
Inherited from ZenUtils.ZenDaemon.ZenDaemon:
becomeDaemon,
becomeWatchdog,
changeUser,
niceDoggie,
openPrivilegedPort,
setupLogging,
sighandler_USR1,
watchdogCycleTime,
watchdogMaxRestartTime,
watchdogStartTimeout,
writePidFile
Inherited from ZenUtils.CmdBase.CmdBase:
buildParser,
checkLogpath,
generate_configs,
generate_xml_configs,
generate_xml_table,
getConfigFileDefaults,
parseOptions,
pretty_print_config_comment
Inherited from ZenUtils.captureReplay.CaptureReplay:
buildCaptureReplayOptions,
capturePacket,
processCaptureReplayOptions,
replayAll,
replayStop
|