|
|
dictionary of device name, device object
|
|
Twisted deferred
|
|
|
|
|
|
|
|
|
|
|
|
|
start(self,
driver)
Read the basic config needed to do anything, and to reread the
configuration information on a periodic basis. |
source code
|
|
|
|
|
|
Twisted deferred object
|
oneDevice(self,
device)
Contact one device and return a deferred which gathers data from
the device. |
source code
|
|
Twisted deferred
|
|
|
|
dictionary, dictionary, dictionary, list of tuples
|
|
|
|
|
|
|
periodic(self,
unused=None)
Main loop that drives all other processing. |
source code
|
|
|
fetchPerf(self,
device)
Get performance data for all the monitored processes on a
device |
source code
|
|
|
|
|
save(self,
deviceName,
pidName,
statName,
value,
rrdType,
min='U',
max='U')
Save a value into an RRD file |
source code
|
|
|
heartbeat(self)
Twisted keep-alive mechanism to ensure that we're still connected
to zenhub. |
source code
|
|
|
|
|
|
Inherited from SnmpDaemon.SnmpDaemon :
setPropertyItems
Inherited from RRDDaemon.RRDDaemon :
error ,
errorStop ,
getDevicePingIssues ,
logError ,
model ,
remote_setPropertyItems ,
sendThresholdEvent
|
|
statusEvent = {'eventClass': Status_OSProcess, 'eventGroup': '...
|
|
initialServices = SnmpDaemon.initialServices+ ['ProcessConfig']
|
|
processConfigInterval = 20* 60
|
|
processCycleInterval = 5* 60
|
|
properties = SnmpDaemon.properties+('processCycleInterval',)
|
|
missing = 0
|
|
restarted = 0
|
|
parallelJobs = 10
|
Inherited from SnmpDaemon.SnmpDaemon :
heartbeatTimeout ,
snmpCycleInterval
Inherited from RRDDaemon.RRDDaemon :
configCycleInterval ,
rrd ,
shutdown ,
thresholds
|