Trees | Index | Help |
|
---|
Package ZenEvents :: Module zentrap :: Class ZenTrap |
|
CmdBase
--+ |ZenDaemon
--+ |ZCmdBase
--+ |EventServer
--+ |AbstractDatagramProtocol
--+ | | |DatagramProtocol
--+ | | |SNMPProtocol
--+ | ZenTrap
Method Summary | |
---|---|
__init__(self)
| |
basic options setup sub classes can add more options here | |
doHandleRequest(self,
data,
addr,
ts)
| |
Traps are processed asynchronously in a thread | |
informResponse(self,
data,
addr)
| |
get oids, even if we're handed slightly wrong values | |
Find a device by its IP address | |
short hand to get names from oids | |
Inherited from EventServer :
finish ,
heartbeat ,
main ,
report ,
reportCycle ,
run ,
sendEvent ,
sendEvents ,
sigTerm ,
useTcpFileDescriptor ,
useUdpFileDescriptor ,
_wakeUpReactorAndHandleSignals
Inherited from ZCmdBase :
closeAll ,
closedb ,
findDevice ,
getConnection ,
getContext ,
getDataRoot ,
getDmdObj ,
login ,
logout ,
opendb ,
syncdb ,
zeoConnect
Inherited from ZenDaemon :
becomeDaemon ,
changeUser ,
setupLogging
Inherited from CmdBase :
buildParser ,
parseOptions
Inherited from SNMPProtocol :
datagramReceived ,
decode ,
getRequestKey ,
send
Inherited from DatagramProtocol :
connectionRefused
Inherited from AbstractDatagramProtocol :
__getstate__ ,
doStart ,
doStop ,
makeConnection ,
startProtocol ,
stopProtocol
|
Class Variable Summary | |
---|---|
float |
maxTime = 0.0 |
str |
name = 'zentrap'
|
int |
totalEvents = 0 |
float |
totalTime = 0.0 |
Inherited from ZenDaemon :
pidfile
Inherited from CmdBase :
doesLogging
Inherited from AbstractDatagramProtocol :
noisy ,
numPorts ,
transport
|
Method Details |
---|
buildOptions(self)basic options setup sub classes can add more options here
|
handleTrap(self, data, addr)Traps are processed asynchronously in a thread |
oid2name(self, oid)get oids, even if we're handed slightly wrong values |
_findDevice(self, addr)Find a device by its IP address |
_oid2name(self, oid)short hand to get names from oids |
Class Variable Details |
---|
maxTime
|
name
|
totalEvents
|
totalTime
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:07 2007 | http://epydoc.sf.net |