Daemon class to attach to zenhub and pass along device configuration
information.
|
|
|
|
|
|
|
configure(self)
Get our configuration from zenhub |
source code
|
|
|
|
|
|
|
|
|
wmiCollect(self,
device,
ip,
timeout)
Start the Windows Management Instrumentation (WMI) collector |
source code
|
|
|
|
|
|
|
|
|
addClient(self,
device,
timeout,
clientType,
name)
If device is not None, schedule the device to be collected. |
source code
|
|
|
|
|
|
|
|
|
fillError(self,
reason)
Twisted errback routine to log an error when unable to collect some
data |
source code
|
|
integer
|
|
|
heartbeat(self,
ignored=None)
Twisted keep-alive mechanism to ensure that we're still connected to
zenhub |
source code
|
|
|
|
|
|
|
|
|
processOptions(self)
Check what the user gave us vs what we'll accept for command-line
options |
source code
|
|
|
|
|
|
|
|
|
getDeviceList(self)
Get the list of devices for which we are collecting:
* if -d devicename was used, use the devicename
* if a class path flag was supplied, gather the devices
along that organizer
* otherwise get all of the devices associated with our collector |
source code
|
|
Twisted deferred object
|
|
Twisted deferred object
|
|
|
|
Inherited from ZenHub.PBDaemon.PBDaemon :
connect ,
connectTimeout ,
eventService ,
getInitialServices ,
getService ,
getServiceNow ,
gotPerspective ,
pushEvents ,
pushEventsLoop ,
remote_getName ,
remote_setPropertyItems ,
remote_shutdown ,
remote_updateThresholdClasses ,
run ,
sendEvent ,
sendEvents ,
setExitCode ,
sigTerm ,
stop
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
|