|
__init__(self,
noopts=0)
Create any base performance directories (if necessary), load
cached configuration data and clean up any old RRD files (if
specified by --checkAgingFiles) |
source code
|
|
|
pickleName(self,
id)
Return the path to the pickle file for a device |
source code
|
|
|
|
|
cleanup(self,
fullPath)
Delete an old RRD file |
source code
|
|
|
reportOldFile(self,
fullPath)
Add an RRD file to the list of files to be removed |
source code
|
|
|
remote_updateDeviceList(self,
devices)
Gather the list of devices from zenhub, update all devices config
in the list of devices, and remove any devices that we know about,
but zenhub doesn't know about. |
source code
|
|
|
startUpdateConfig(self,
driver)
Periodically ask the Zope server for basic configuration data. |
source code
|
|
|
updateDeviceList(self,
responses,
requested)
Update the config for devices |
source code
|
|
SnmpConnInfo class
|
|
|
updateSnmpStatus(self,
status)
Update the SNMP failure counts from Status database |
source code
|
|
|
remote_deleteDevice(self,
doomed)
Allows zenhub to delete a device from our configuration |
source code
|
|
|
remote_updateDeviceConfig(self,
snmpTargets)
Allows zenhub to update our device configuration |
source code
|
|
|
|
|
|
|
setUnresponsiveDevices(self,
arg)
Remember all the unresponsive devices |
source code
|
|
|
readDevices(self,
unused=None)
Periodically fetch the performance values from all known
devices |
source code
|
|
|
reportRate(self,
*unused)
Finished reading all the devices, report stats and maybe stop |
source code
|
|
|
checkOldFiles(self)
Send an event showing whether we have old files or not |
source code
|
|
|
startReadDevice(self,
deviceName)
Initiate a request (or several) to read the performance data from
a device |
source code
|
|
|
badOid(self,
deviceName,
oid)
Report any bad OIDs (eg to a file log and Zenoss event) and then
remove the OID so we dont generate any further errors. |
source code
|
|
|
storeValues(self,
updates,
deviceName)
Decode responses from devices and store the elements in RRD
files |
source code
|
|
|
|
|
connected(self)
Run forever, fetching and storing |
source code
|
|
|
|
Inherited from SnmpDaemon.SnmpDaemon :
setPropertyItems
Inherited from RRDDaemon.RRDDaemon :
error ,
errorStop ,
getDevicePingIssues ,
logError ,
model ,
remote_setPropertyItems ,
sendThresholdEvent
|
|
maxRrdFileAge = 30*(24* 60* 60)
|
|
perfsnmpConfigInterval = 20* 60
|
|
perfsnmpCycleInterval = 5* 60
|
|
properties = SnmpDaemon.properties+('perfsnmpCycleInterval',)
|
|
initialServices = SnmpDaemon.initialServices+ ['SnmpPerfConfig']
|
Inherited from SnmpDaemon.SnmpDaemon :
heartbeatTimeout ,
snmpCycleInterval
Inherited from RRDDaemon.RRDDaemon :
configCycleInterval ,
rrd ,
shutdown ,
thresholds
|