| Trees | Index | Help |
|
|---|
| Package DataCollector :: Module zenmodeler :: Class ZenModeler |
|
CmdBase--+ |ZenDaemon--+ |ZCmdBase--+ | ZenModeler
ZenDisc| Method Summary | |
|---|---|
__init__(self,
noopts,
app,
single,
threaded,
keeproot)
| |
addClient(self,
obj,
timeout,
clientType,
name)
| |
basic options setup sub classes can add more options here | |
checkCollection(self,
device)
| |
if there's nothing left to do, maybe we should terminate | |
Callback that processes the return values from a device. | |
Start command collection client. | |
Collect data from a single device. | |
collectSingle(self,
device)
| |
If there are any free collection slots fill them up | |
Load plugins from the plugin directory. | |
main(self)
| |
mainLoop(self)
| |
Start portscan collection client. | |
processOptions(self)
| |
reactorLoop(self)
| |
If device is a string look it up in the dmd. | |
Build a list of active plugins for a device. | |
controlled shutdown of main loop on interrupt | |
Start snmp collection client. | |
Stop ZenModeler make sure reactor is stopped, join with applyData thread and close the zeo connection. | |
timeoutClients(self)
| |
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
| |
| Class Variable Summary | |
|---|---|
bool |
generateEvents = True
|
Inherited from ZenDaemon:
pidfile
Inherited from CmdBase:
doesLogging
| |
| Method Details |
|---|
buildOptions(self)basic options setup sub classes can add more options here
|
checkStop(self)if there's nothing left to do, maybe we should terminate |
clientFinished(self, collectorClient)Callback that processes the return values from a device. |
cmdCollect(self, device, ip, timeout)Start command collection client. |
collectDevice(self, device)Collect data from a single device. |
fillCollectionSlots(self)If there are any free collection slots fill them up |
loadPlugins(self)Load plugins from the plugin directory. |
portscanCollect(self, device, ip, timeout)Start portscan collection client. |
resolveDevice(self, device)If device is a string look it up in the dmd. |
selectPlugins(self, device, transport)Build a list of active plugins for a device. |
sigTerm(self, *unused)controlled shutdown of main loop on interrupt |
snmpCollect(self, device, ip, timeout)Start snmp collection client. |
stop(self)Stop ZenModeler make sure reactor is stopped, join with applyData thread and close the zeo connection. |
| Class Variable Details |
|---|
generateEvents
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Aug 16 09:55:09 2007 | http://epydoc.sf.net |