Package Products :: Package ZenReports :: Module AliasPlugin :: Class RRDColumnHandler
[hide private]
[frames] | no frames]

Class RRDColumnHandler

source code

object --+
         |
        RRDColumnHandler

A handler that return RRD data for the value given the row context

Instance Methods [hide private]
 
__init__(self, aliasName) source code
 
__call__(self, device, component=None, extra=None) source code
Method Details [hide private]

__init__(self, aliasName)
(Constructor)

source code 
Parameters:
  • aliasName - the alias or datapoint name to fetch
  • columnHandler - optional columnHandler method or object for post-processing of the RRD data
Overrides: object.__init__

__call__(self, device, component=None, extra=None)
(Call operator)

source code 
Parameters:
  • device - the device represented by this row
  • component - the component represented by this row (if present)
  • extra - extra context passed to the columnHandler that will generate the column value