Package ZenStatus :: Module pingjob :: Class PingMonitor
[hide private]
[frames] | no frames]

Class PingMonitor

source code

Instance Methods [hide private]
 
__init__(self, timeout=0.25, tries=3, chunk=25) source code
 
_createSocket(self) source code
 
_setQueue(self, queueDict) source code
 
addTarget(self, target) source code
 
sendPings(self, queue) source code
 
recvPings(self, queue) source code
 
sendPacket(self, target, queue) source code
 
recvPacket(self) source code
 
display(self) source code
 
setTargets(self, chunk)
set jobQueue = chunks remove good pings, leave bad pings until exceed _tries
source code
 
_getChunk(self) source code
 
run(self, targets)
put failed targets into result queue loop over chunks and call doChunk for each
source code