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

Type RRDView

object --+
         |
        RRDView

Known Subclasses:
ManagedEntity

Mixin to provide hooks to RRD management functions
Method Summary
  cacheRRDValue(self, dsname, default)
read an RRDValue with and cache it
  getDataSourceCommands(self, dsName)
Return list of command definitions.
  getDefaultGraphs(self, drange)
get the default graph list for this object
  getRRDDataPoint(self, dpName)
  getRRDDataPoints(self)
  getRRDFileName(self, dsname)
Look up an rrd file based on its data point name
  getRRDGraphUrl(self, graph, drange, template)
resolve template and graph names to objects and pass to graph performance
  getRRDNames(self)
  getRRDPaths(self)
  getRRDSum(self, points, start, end, function)
Return a some of listed datapoints.
  getRRDTemplate(self)
  getRRDTemplateByName(self, name)
Return the template of the given name.
  getRRDTemplateName(self)
Return the target type name of this component.
  getRRDTemplates(self)
  getRRDValue(self, dsname, start, end, function)
Return a single rrd value from its file using function.
  getRRDValues(self, dsnames, start, end, function)
Return a dict of key value pairs where dsnames are the keys.
  getSnmpOidTargets(self)
Return a list of (name, oid, path, type, createCmd, thresholds) that define monitorable
  getThresholds(self, templ)
Return a dictionary where keys are dsnames and values are thresholds.
  getXmlRpcTargets(self)
Return a list of XMLRPC targets in the form [(name, url, methodName, methodParameters, path, type, createCmd, thresholds),...]
  makeLocalRRDTemplate(self, templateName, REQUEST)
Make a local copy of our RRDTemplate if one doesn't exist.
  removeLocalRRDTemplate(self, templateName, REQUEST)
Make a local delete of our RRDTemplate if one doesn't exist.
  rrdPath(self)
  snmpIgnore(self)
Should this component be monitored for performance using snmp.
Inherited from object: __init__, __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Method Details

cacheRRDValue(self, dsname, default='Unknown')

read an RRDValue with and cache it

getDataSourceCommands(self, dsName=None)

Return list of command definitions.

getDefaultGraphs(self, drange=None)

get the default graph list for this object

getRRDFileName(self, dsname)

Look up an rrd file based on its data point name

getRRDGraphUrl(self, graph, drange=None, template=None)

resolve template and graph names to objects and pass to graph performance

getRRDSum(self, points, start=None, end=None, function='LAST')

Return a some of listed datapoints.

getRRDTemplateByName(self, name)

Return the template of the given name.

getRRDTemplateName(self)

Return the target type name of this component. By default meta_type. Override to create custom type selection.

getRRDValue(self, dsname, start=None, end=None, function='LAST')

Return a single rrd value from its file using function.

getRRDValues(self, dsnames, start=None, end=None, function='LAST')

Return a dict of key value pairs where dsnames are the keys.

getSnmpOidTargets(self)

Return a list of (name, oid, path, type, createCmd, thresholds) that define monitorable

getThresholds(self, templ)

Return a dictionary where keys are dsnames and values are thresholds.

getXmlRpcTargets(self)

Return a list of XMLRPC targets in the form [(name, url, methodName, methodParameters, path, type, createCmd, thresholds),...]

makeLocalRRDTemplate(self, templateName=None, REQUEST=None)

Make a local copy of our RRDTemplate if one doesn't exist.

removeLocalRRDTemplate(self, templateName=None, REQUEST=None)

Make a local delete of our RRDTemplate if one doesn't exist.

snmpIgnore(self)

Should this component be monitored for performance using snmp.

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