Package ZenRRD :: Module RRDDaemon :: Class RRDDaemon
[hide private]
[frames] | no frames]

Class RRDDaemon

source code

  Products.ZenUtils.CmdBase.CmdBase --+        
                                      |        
  Products.ZenUtils.ZenDaemon.ZenDaemon --+    
                                          |    
 twisted.spread.jelly.Jellyable --+       |    
                                  |       |    
twisted.spread.flavors.Serializable --+   |    
                                      |   |    
   twisted.spread.flavors.Referenceable --+    
                                          |    
          Products.ZenHub.PBDaemon.PBDaemon --+
                                              |
                                             RRDDaemon
Known Subclasses:
SnmpDaemon.SnmpDaemon

Holds the code common to performance gathering daemons.

Instance Methods [hide private]
 
__init__(self, name) source code
 
getDevicePingIssues(self) source code
 
remote_updateThresholdClasses(self, classes) source code
 
remote_setPropertyItems(self, items) source code
 
remote_updateDeviceList(self, devices) source code
 
setPropertyItems(self, items)
extract configuration elements used by this server
source code
 
sendThresholdEvent(self, **kw)
Send the right event class for threshhold events
source code
 
heartbeat(self, *unused)
if cycling, send a heartbeat, else, shutdown
source code
 
buildOptions(self) source code
 
logError(self, msg, error) source code
 
error(self, error)
Log an error, including any traceback data for a failure Exception
source code
 
errorStop(self, why) source code
 
model(self) source code

Inherited from Products.ZenHub.PBDaemon.PBDaemon: connect, connected, eventService, getInitialServices, getService, getServiceNow, gotPerspective, remote_getName, remote_shutdown, run, sendEvent, sigTerm, stop

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

Inherited from twisted.spread.flavors.Referenceable: jellyFor, remoteMessageReceived

Inherited from twisted.spread.flavors.Serializable: processUniqueID

Inherited from twisted.spread.jelly.Jellyable: __providedBy__, getStateFor

Class Variables [hide private]
  heartbeatevt = {'eventClass': '/Heartbeat'}
  properties = ('configCycleInterval')
  heartBeatTimeout = 180
  configCycleInterval = 20
  rrd = None
  shutdown = False
  thresholds = None

Inherited from Products.ZenHub.PBDaemon.PBDaemon: initialServices, name

Inherited from Products.ZenUtils.ZenDaemon.ZenDaemon: pidfile

Inherited from Products.ZenUtils.CmdBase.CmdBase: doesLogging

Inherited from twisted.spread.flavors.Referenceable: __implemented__, __provides__, perspective

Method Details [hide private]

__init__(self, name)
(Constructor)

source code 
Overrides: Products.ZenHub.PBDaemon.PBDaemon.__init__

buildOptions(self)

source code 
Overrides: Products.ZenHub.PBDaemon.PBDaemon.buildOptions