Trees | Index | Help |
|
---|
Package ZenRRD :: Module zenprocess :: Class zenprocess |
|
Jellyable
--+ |Serializable
--+ |Referenceable
--+ |CmdBase
--+ | | |ZenDaemon
--+ |PBDaemon
--+ |RRDDaemon
--+ |SnmpDaemon
--+ | zenprocess
Method Summary | |
---|---|
__init__(self)
| |
clearSnmpError(self,
name,
message)
| |
connected(self)
| |
Log exception for a single device | |
Return a filtered list of devices | |
Get configuration values from the Zope server | |
Get performance data for all the monitored Processes on a device | |
if cycling, send a heartbeat, else, shutdown | |
oneDevice(self,
device)
| |
Basic SNMP scan loop | |
remote_deleteDevice(self,
doomed)
| |
remote_updateDevice(self,
cfg)
| |
remote_updateDeviceList(self,
devices)
| |
Save an value in the right path in RRD files | |
Fetch all the process info | |
Read the basic config needed to do anything | |
Save the performance data in RRD files | |
Parse the process tables and figure what pids are on the device | |
updateDevices(self,
cfgs,
fetched)
| |
updateProcessStatus(self,
status)
| |
updateSnmpStatus(self,
updates)
| |
Inherited from SnmpDaemon :
setPropertyItems
Inherited from RRDDaemon :
buildOptions ,
error ,
errorStop ,
getDevicePingIssues ,
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', 'ProcessConfig']
|
int |
processConfigInterval = 1200 |
int |
processCycleInterval = 300 |
tuple |
properties = ('configCycleInterval', 'snmpCycleInterval'...
|
dict |
statusEvent = {'eventClass': '/Status/OSProcess', 'event...
|
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 |
---|
deviceFailure(self, error, device)Log exception for a single device |
devices(self)Return a filtered list of devices |
fetchConfig(self)Get configuration values from the Zope server |
fetchPerf(self, device)Get performance data for all the monitored Processes on a device |
heartbeat(self, *unused)if cycling, send a heartbeat, else, shutdown
|
periodic(self, unused=None)Basic SNMP scan loop |
save(self, deviceName, pidName, statName, value, rrdType, min='U', max='U')Save an value in the right path in RRD files |
scanDevice(self, device)Fetch all the process info |
start(self, driver)Read the basic config needed to do anything |
storePerfStats(self, results, device)Save the performance data in RRD files |
storeProcessNames(self, results, device)Parse the process tables and figure what pids are on the device |
Class Variable Details |
---|
initialServices
|
processConfigInterval
|
processCycleInterval
|
properties
|
statusEvent
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:10 2007 | http://epydoc.sf.net |