Package DataCollector :: Module zendisc :: Class ZenDisc
[hide private]
[frames] | no frames]

Class ZenDisc

source code

Products.ZenUtils.CmdBase.CmdBase --+            
                                    |            
Products.ZenUtils.ZenDaemon.ZenDaemon --+        
                                        |        
      Products.ZenUtils.ZCmdBase.ZCmdBase --+    
                                            |    
                        zenmodeler.ZenModeler --+
                                                |
                                               ZenDisc

Instance Methods [hide private]
 
__init__(self, noopts=0, app=None, single=True, threaded=False, keeproot=True) source code
 
discoverRouters(self, rootdev, seenips=[])
Discover all default routers based on dmd configuration.
source code
 
discoverIps(self, nets=None)
Ping all ips create if nessesary and perform reverse lookup.
source code
 
sendIpStatusEvent(self, ipobj, sev=2)
Send an ip down event.
source code
 
sendDiscoveredEvent(self, ipobj, sev=2)
Send an device discovered event.
source code
 
discoverDevices(self, ips, devicepath='/Discovered', prodState=1000)
Discover devices by active ips that are not associated with a device.
source code
 
discoverDevice(self, ip, devicepath='/Discovered', prodState=1000)
Discover a device based on its ip address.
source code
 
run(self) source code
 
buildOptions(self) source code

Inherited from zenmodeler.ZenModeler: addClient, checkCollection, checkStop, clientFinished, cmdCollect, collectDevice, collectSingle, fillCollectionSlots, loadPlugins, main, mainLoop, portscanCollect, processOptions, reactorLoop, resolveDevice, selectPlugins, sigTerm, snmpCollect, stop, timeoutClients

Inherited from Products.ZenUtils.ZCmdBase.ZCmdBase: closeAll, closedb, findDevice, getConnection, getContext, getDataRoot, getDmdObj, login, logout, opendb, syncdb, zeoConnect

Inherited from Products.ZenUtils.ZenDaemon.ZenDaemon: becomeDaemon, changeUser, setupLogging

Inherited from Products.ZenUtils.CmdBase.CmdBase: buildParser, generate_configs, generate_xml_table, parseOptions, pretty_print_config_comment

Class Variables [hide private]

Inherited from zenmodeler.ZenModeler: generateEvents

Inherited from Products.ZenUtils.ZenDaemon.ZenDaemon: pidfile

Inherited from Products.ZenUtils.CmdBase.CmdBase: doesLogging

Method Details [hide private]

__init__(self, noopts=0, app=None, single=True, threaded=False, keeproot=True)
(Constructor)

source code 
Overrides: zenmodeler.ZenModeler.__init__

sendIpStatusEvent(self, ipobj, sev=2)

source code 
Send an ip down event. These are used to cleanup unused ips.

buildOptions(self)

source code 
Overrides: zenmodeler.ZenModeler.buildOptions