Daemon class to attach to zenhub and pass along device configuration
information.
|
|
Twisted deferred
|
|
|
startScan(self,
ignored=None)
Start gathering status information, taking care of the case where we
are invoked as a daemon or for a single run. |
source code
|
|
|
|
|
|
|
remote_notifyConfigChanged(self)
Procedure called from zenhub to get us to re-gather all of our
configuration. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
scanCycle(self,
driver)
Go through all devices and start determining the status of each TCP
service. |
source code
|
|
|
heartbeat(self)
Twisted keep-alive mechanism to ensure that we're still connected to
zenhub. |
source code
|
|
|
runSomeJobs(self)
Run IP service tests with the maximum parallelization allowed. |
source code
|
|
|
|
|
|
|
|
Inherited from ZenHub.PBDaemon.PBDaemon :
connect ,
connectTimeout ,
eventService ,
getInitialServices ,
getService ,
getServiceNow ,
gotPerspective ,
pushEvents ,
pushEventsLoop ,
remote_getName ,
remote_shutdown ,
remote_updateThresholdClasses ,
run ,
sendEvent ,
sendEvents ,
setExitCode ,
sigTerm ,
stop
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
|