|
|
__init__(self,
noopts=0,
keeproot=False,
name=None)
Initializer that takes care of basic daemon options. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getService(self,
serviceName,
serviceListeningInterface=None)
Attempt to get a service from zenhub. |
source code
|
|
|
|
getInitialServices(self)
After connecting to zenhub, gather our initial list of services. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pushEventsLoop(self)
Periodially, wake up and flush events to ZenHub. |
source code
|
|
|
|
pushEvents(self,
driver)
Flush events to ZenHub. |
source code
|
|
|
|
heartbeat(self)
if cycling, send a heartbeat, else, shutdown |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from ZenUtils.ZenDaemon.ZenDaemon:
becomeDaemon,
becomeWatchdog,
changeUser,
convertSocketOption,
logname,
niceDoggie,
openPrivilegedPort,
setupLogging,
sighandler_USR1,
watchdogCycleTime,
watchdogMaxRestartTime,
watchdogStartTimeout,
writePidFile
Inherited from ZenUtils.CmdBase.CmdBase:
buildParser,
checkLogpath,
generate_configs,
generate_xml_configs,
generate_xml_table,
getConfigFileDefaults,
getGlobalConfigFileDefaults,
getParamatersFromConfig,
loadConfigFile,
parseOptions,
pretty_print_config_comment,
validateConfigFile
|