| Trees | Index | Help |
|
|---|
| Package DataCollector :: Module zendisc :: Class ZenDisc |
|
CmdBase--+ |ZenDaemon--+ |ZCmdBase--+ |ZenModeler--+ | ZenDisc
| Method Summary | |
|---|---|
__init__(self,
noopts,
app,
single,
threaded,
keeproot)
| |
basic options setup sub classes can add more options here | |
Discover a device based on its ip address. | |
Discover devices by active ips that are not associated with a device. | |
Ping all ips create if nessesary and perform reverse lookup. | |
Discover all default routers based on dmd configuration. | |
run(self)
| |
Send an device discovered event. | |
Send an ip down event. | |
Inherited from ZenModeler:
addClient,
checkCollection,
checkStop,
clientFinished,
cmdCollect,
collectDevice,
collectSingle,
fillCollectionSlots,
loadPlugins,
main,
mainLoop,
portscanCollect,
processOptions,
reactorLoop,
resolveDevice,
selectPlugins,
sigTerm,
snmpCollect,
stop,
timeoutClients
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 | |
|---|---|
Inherited from ZenModeler:
generateEvents
Inherited from ZenDaemon:
pidfile
Inherited from CmdBase:
doesLogging
|
| Method Details |
|---|
buildOptions(self)basic options setup sub classes can add more options here
|
discoverDevice(self, ip, devicepath='/Discovered', prodState=1000)Discover a device based on its ip address. |
discoverDevices(self, ips, devicepath='/Discovered', prodState=1000)Discover devices by active ips that are not associated with a device. |
discoverIps(self, nets=None)Ping all ips create if nessesary and perform reverse lookup. |
discoverRouters(self, rootdev, seenips=[])Discover all default routers based on dmd configuration. |
sendDiscoveredEvent(self, ipobj, sev=2)Send an device discovered event. |
sendIpStatusEvent(self, ipobj, sev=2)Send an ip down event. These are used to cleanup unused ips. |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Aug 16 09:55:14 2007 | http://epydoc.sf.net |