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

Class zencommand

source code

Products.ZenRRD.RRDDaemon.RRDDaemon --+
                                      |
                                     zencommand

Daemon code to schedule commands and run them.

Instance Methods [hide private]
 
__init__(self) source code
 
remote_deleteDevice(self, doomed) source code
 
remote_updateConfig(self, config) source code
 
remote_updateDeviceList(self, devices) source code
 
updateConfig(self, configs, expected) source code
 
heartbeatCycle(self, *ignored)
There is no master 'cycle' to send the hearbeat
source code
 
processSchedule(self, *unused)
Run through the schedule and start anything that needs to be done.
source code
 
finished(self, cmd) source code
 
error(self, err) source code
 
parseResults(self, cmd)
Process the results of our command-line, send events and check datapoints.
source code
 
fetchConfig(self) source code
 
start(self, driver)
Fetch the configuration and return a deferred for its completion.
source code
 
buildOptions(self) source code
 
connected(self) source code
Class Variables [hide private]
  initialServices = RRDDaemon.initialServices+ ['CommandConfig']
Method Details [hide private]

processSchedule(self, *unused)

source code 
Run through the schedule and start anything that needs to be done. Set a timer if we have nothing to do.

parseResults(self, cmd)

source code 
Process the results of our command-line, send events and check datapoints.
Parameters:
  • cmd - command

start(self, driver)

source code 
Fetch the configuration and return a deferred for its completion. Also starts the config cycle