Trees | Index | Help |
|
---|
Package ZenRRD :: Module zenperfsnmp :: Class zenperfsnmp |
|
Jellyable
--+ |Serializable
--+ |Referenceable
--+ |CmdBase
--+ | | |ZenDaemon
--+ |PBDaemon
--+ |RRDDaemon
--+ |SnmpDaemon
--+ | zenperfsnmp
Method Summary | |
---|---|
__init__(self)
| |
badOid(self,
deviceName,
oid)
| |
cleanup(self,
fullPath)
| |
Run forever, fetching and storing | |
Read local configuration values at startup | |
Stop if all performance has been fetched, and we aren't cycling | |
pickleName(self,
id)
| |
Periodically fetch the performance values from all known devices | |
remote_deleteDevice(self,
doomed)
| |
remote_updateDeviceConfig(self,
snmpTargets)
| |
remote_updateDeviceList(self,
devices)
| |
Finished reading all the devices, report stats and maybe stop | |
scanCycle(self,
*unused)
| |
remember all the unresponsive devices | |
Initiate a request (or several) to read the performance data from a device | |
Periodically ask the Zope server for basic configuration data. | |
store a value into an RRD file | |
decode responses from devices and store the elements in RRD files | |
create or update proxy | |
Save the device configuration and create an SNMP proxy to talk to it | |
Update the config for devices devices | |
Update the Snmp failure counts from Status database | |
Inherited from SnmpDaemon :
setPropertyItems
Inherited from RRDDaemon :
buildOptions ,
error ,
errorStop ,
getDevicePingIssues ,
heartbeat ,
logError ,
model ,
remote_setPropertyItems ,
sendThresholdEvent
Inherited from PBDaemon :
connect ,
eventService ,
getInitialServices ,
getService ,
getServiceNow ,
gotPerspective ,
remote_getName ,
remote_shutdown ,
run ,
sendEvent ,
sigTerm ,
stop
Inherited from ZenDaemon :
becomeDaemon ,
changeUser ,
setupLogging
Inherited from CmdBase :
buildParser ,
parseOptions
Inherited from Referenceable :
jellyFor ,
remoteMessageReceived
Inherited from Serializable :
processUniqueID
Inherited from Jellyable :
getStateFor
|
Class Variable Summary | |
---|---|
list |
initialServices = ['EventService', 'SnmpPerfConfig']
|
int |
maxRrdFileAge = 2592000 |
int |
perfsnmpConfigInterval = 1200 |
int |
perfsnmpCycleInterval = 300 |
tuple |
properties = ('configCycleInterval', 'snmpCycleInterval'...
|
Inherited from SnmpDaemon :
heartBeatTimeout ,
snmpCycleInterval
Inherited from RRDDaemon :
configCycleInterval ,
heartbeatevt ,
rrd ,
shutdown
Inherited from PBDaemon :
name
Inherited from ZenDaemon :
pidfile
Inherited from CmdBase :
doesLogging
Inherited from Referenceable :
__implemented__ ,
__provides__ ,
perspective
Inherited from Jellyable :
__providedBy__
|
Method Details |
---|
connected(self)Run forever, fetching and storing
|
loadConfigs(self, perfRoot)Read local configuration values at startup |
maybeQuit(self)Stop if all performance has been fetched, and we aren't cycling |
readDevices(self, unused=None)Periodically fetch the performance values from all known devices |
reportRate(self, *unused)Finished reading all the devices, report stats and maybe stop |
setUnresponsiveDevices(self, arg)remember all the unresponsive devices |
startReadDevice(self, deviceName)Initiate a request (or several) to read the performance data from a device |
startUpdateConfig(self, driver)Periodically ask the Zope server for basic configuration data. |
storeRRD(self, device, oid, value)store a value into an RRD file |
storeValues(self, updates, deviceName)decode responses from devices and store the elements in RRD files |
updateAgentProxy(self, deviceName, ip, port, community, version, timeout, tries, maxoids=40)create or update proxy |
updateDeviceConfig(self, snmpTargets)Save the device configuration and create an SNMP proxy to talk to it |
updateDeviceList(self, responses, requested)Update the config for devices devices |
updateSnmpStatus(self, status)Update the Snmp failure counts from Status database |
Class Variable Details |
---|
initialServices
|
maxRrdFileAge
|
perfsnmpConfigInterval
|
perfsnmpCycleInterval
|
properties
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:07 2007 | http://epydoc.sf.net |