| Trees | Index | Help |
|
|---|
| Package ZenRRD :: Module zencommand :: Class zencommand |
|
Jellyable--+ |Serializable--+ |Referenceable--+ |CmdBase--+ | | |ZenDaemon--+ |PBDaemon--+ |RRDDaemon--+ | zencommand
| Method Summary | |
|---|---|
__init__(self)
| |
basic options setup sub classes can add more options here | |
connected(self)
| |
error(self,
err)
| |
fetchConfig(self)
| |
finished(self,
cmd)
| |
getExitMessage(self,
exitCode)
| |
There is no master 'cycle' to send the hearbeat | |
parseResults(self,
cmd)
| |
Run through the schedule and start anything that needs to be done. | |
remote_deleteDevice(self,
doomed)
| |
remote_updateConfig(self,
config)
| |
remote_updateDeviceList(self,
devices)
| |
Fetch the configuration and return a deferred for its completion. | |
updateConfig(self,
config,
expected)
| |
Inherited from RRDDaemon:
errorStop,
getDevicePingIssues,
heartbeat,
logError,
model,
remote_setPropertyItems,
sendThresholdEvent,
setPropertyItems
Inherited from PBDaemon:
connect,
eventService,
getInitialServices,
getService,
getServiceNow,
gotPerspective,
remote_getName,
remote_shutdown,
run,
sendEvent,
sigTerm,
stop
Inherited from ZenDaemon:
becomeDaemon,
changeUser,
setupLogging
Inherited from CmdBase:
buildParser,
parseOptions
Inherited from Referenceable:
jellyFor,
remoteMessageReceived
Inherited from Serializable:
processUniqueID
Inherited from Jellyable:
getStateFor
| |
| Class Variable Summary | |
|---|---|
list |
initialServices = ['EventService', 'CommandConfig']
|
Inherited from RRDDaemon:
configCycleInterval,
heartbeatevt,
heartBeatTimeout,
properties,
rrd,
shutdown
Inherited from PBDaemon:
name
Inherited from ZenDaemon:
pidfile
Inherited from CmdBase:
doesLogging
Inherited from Referenceable:
__implemented__,
__provides__,
perspective
Inherited from Jellyable:
__providedBy__
| |
| Method Details |
|---|
buildOptions(self)basic options setup sub classes can add more options here
|
heartbeatCycle(self, *ignored)There is no master 'cycle' to send the hearbeat |
processSchedule(self, *unused)Run through the schedule and start anything that needs to be done. Set a timer if we have nothing to do. |
start(self, driver)Fetch the configuration and return a deferred for its completion. Also starts the config cycle |
| Class Variable Details |
|---|
initialServices
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Aug 16 09:55:11 2007 | http://epydoc.sf.net |