| Trees | Index | Help |
|
|---|
| Package ZenRRD :: Module zenperfxmlrpc :: Class zenperfxmlrpc |
|
Jellyable--+ |Serializable--+ |Referenceable--+ |CmdBase--+ | | |ZenDaemon--+ |PBDaemon--+ |RRDDaemon--+ | zenperfxmlrpc
| Method Summary | |
|---|---|
__init__(self)
| |
badMethodName(self,
deviceName,
url,
methodName)
| |
checkStatus(self,
successCounts,
deviceName)
| |
cleanup(self,
fullPath)
| |
Run forever, fetching and storing | |
insertBasicAuth(self,
url,
username,
password)
| |
Stop if all performance has been fetched, and we aren't cycling | |
Periodically fetch xmlrpc values from all known devices | |
remote_deleteDevice(self,
doomed)
| |
remote_updateDeviceConfig(self,
cfg)
| |
Finished reading all the devices, report stats and maybe stop | |
scanCycle(self,
*unused)
| |
Send the right event class for threshhold events | |
extract configuration elements used by this server | |
remember all the unresponsive devices | |
Initiate a request (or several) to read all the xmlrpc URLS and all associated methods for 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 | |
Save the device configuration and create an XMLRPC proxy to talk to it | |
Update the config for devices | |
create or update proxy | |
Inherited from RRDDaemon:
buildOptions,
error,
errorStop,
getDevicePingIssues,
heartbeat,
logError,
model,
remote_setPropertyItems,
remote_updateDeviceList
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 | |
|---|---|
int |
heartBeatTimeout = 180 |
list |
initialServices = ['EventService', 'XmlRPCConfig']
|
int |
maxRrdFileAge = 2592000 |
tuple |
properties = ('configCycleInterval', 'xmlrpcCycleInterva...
|
Status |
status = <ZenRRD.zenperfxmlrpc.Status instance at 0x37d7...
|
int |
xmlrpcCycleInterval = 60 |
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
|
maybeQuit(self)Stop if all performance has been fetched, and we aren't cycling |
readDevices(self, unused=None)Periodically fetch xmlrpc values from all known devices |
reportRate(self, *unused)Finished reading all the devices, report stats and maybe stop |
sendThresholdEvent(self, **kw)Send the right event class for threshhold events |
setPropertyItems(self, items)extract configuration elements used by this server
|
setUnresponsiveDevices(self, arg)remember all the unresponsive devices |
startReadDevice(self, deviceName)Initiate a request (or several) to read all the xmlrpc URLS and all associated methods for a device |
startUpdateConfig(self, driver)Periodically ask the Zope server for basic configuration data. |
storeRRD(self, deviceName, url, methodName, value)store a value into an RRD file |
storeValues(self, updates, deviceName, url)decode responses from devices and store the elements in RRD files |
updateDeviceConfig(self, xmlRpcTargets)Save the device configuration and create an XMLRPC proxy to talk to it |
updateDeviceList(self, deviceList)Update the config for devices |
updateProxy(self, url, username, password, deviceStatus)create or update proxy |
| Class Variable Details |
|---|
heartBeatTimeout
|
initialServices
|
maxRrdFileAge
|
properties
|
status
|
xmlrpcCycleInterval
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Aug 16 09:55:08 2007 | http://epydoc.sf.net |