Package ZenModel :: Module PerformanceView :: Class PerformanceView
[show private | hide private]
[frames | no frames]

Class PerformanceView


Mixin to provide hooks to performance management functions which allow targetmap management and graphing configuration generation is in PerformanceDevice and PerformanceServer
Method Summary
  addPerformanceMGraph(self, mgraph)
add a RRDMGraph to the mgraph list for this object
  checkPerformanceData(self)
check to see if there is performance data for this object
  clearPerformanceMGraph(self)
  getDefaultGraphs(self, drange)
get the default graph list for this object
  getPerformanceMGraphs(self)
returns a list of RRDMGraphs
  getPerformanceTarget(self, targettypename)
lookup a targettype from its name
  getPerformanceTargetMap(self)
return the entire targetmap
  getPerformanceTargets(self)
return list of target names for a performance object
  getPerformanceTargetType(self)
return the target type of this instnace if there is more than one will return but which is arbitrary
  getPerformanceTypeForTarget(self, target)
lookup the type of a target for this object we try both the full target passed as well as the last section when split by a '/'
  getPerformanceViewsForTarget(self, targettypename)
get the views for a particular targetname
  lookupPerformanceInterfaceGraphs(self, id)
lookup performance
  performanceGraphUrl(self, target, targettype, view, drange)
resolve targettype and view names to objects and pass to performanceconf
  performanceMGraphUrl(self, targetsmap, view, drange)
resolve targetsmap and view and send to perfconf
  performanceTargetPath(self)
Return the performance target path set for this object.
  setPerformanceTargetMap(self, targetpath, targets)
build the performance target map for an object used when we want to draw graphs for the object

Method Details

addPerformanceMGraph(self, mgraph)

add a RRDMGraph to the mgraph list for this object

checkPerformanceData(self)

check to see if there is performance data for this object

getDefaultGraphs(self, drange=None)

get the default graph list for this object

getPerformanceMGraphs(self)

returns a list of RRDMGraphs

getPerformanceTarget(self, targettypename)

lookup a targettype from its name

getPerformanceTargetMap(self)

return the entire targetmap

getPerformanceTargets(self)

return list of target names for a performance object

getPerformanceTargetType(self)

return the target type of this instnace if there is more than one will return but which is arbitrary

getPerformanceTypeForTarget(self, target)

lookup the type of a target for this object we try both the full target passed as well as the last section when split by a '/'

getPerformanceViewsForTarget(self, targettypename)

get the views for a particular targetname

lookupPerformanceInterfaceGraphs(self, id)

lookup performance

performanceGraphUrl(self, target=None, targettype=None, view=None, drange=None)

resolve targettype and view names to objects and pass to performanceconf

performanceMGraphUrl(self, targetsmap, view=None, drange=None)

resolve targetsmap and view and send to perfconf

performanceTargetPath(self)

Return the performance target path set for this object.

setPerformanceTargetMap(self, targetpath, targets)

build the performance target map for an object used when we want to draw graphs for the object

Generated by Epydoc 2.1 on Thu Aug 16 09:55:07 2007 http://epydoc.sf.net