|
|
__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,
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,
parseOptions,
pretty_print_config_comment
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|