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

# Class PerformanceView

source code
Mixin to provide hooks to performance management functions which allow targetmap management and graphing configuration generation is in PerformanceDevice and PerformanceServer

Instance Methods | [hide private]
performanceGraphUrl(self, target=None, targettype=None, view=None, drange=None) resolve targettype and view names to objects and pass to performanceconf | source code
performanceMGraphUrl(self, targetsmap, view=None, drange=None) resolve targetsmap and view and send to perfconf | source code
setPerformanceTargetMap(self, targetpath, targets) build the performance target map for an object used when we want to draw graphs for the object | source code
performanceTargetPath(self) Return the performance target path set for this object. | source code
clearPerformanceMGraph(self) | source code
addPerformanceMGraph(self, mgraph) add a RRDMGraph to the mgraph list for this object | source code
getPerformanceMGraphs(self) returns a list of RRDMGraphs | source code
checkPerformanceData(self) check to see if there is performance data for this object | source code
getDefaultGraphs(self, drange=None) get the default graph list for this object | source code
getPerformanceTargets(self) return list of target names for a performance object | source code
getPerformanceTargetMap(self) return the entire targetmap | source code
getPerformanceTargetType(self) return the target type of this instnace if there is more than one will return but which is arbitrary | source code
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 '/' | source code
getPerformanceTarget(self, targettypename) lookup a targettype from its name | source code
getPerformanceViewsForTarget(self, targettypename) get the views for a particular targetname | source code
lookupPerformanceInterfaceGraphs(self, id) lookup performance | source code