Trees | Indices | Help |
|
---|
|
|
|||
RRDUtil Wrapper class around rrdtool |
|
|||
number or string |
|
||
|
|||
|
|||
|
|||
|
|
|||
__doc__ = """RRDU
|
|||
log = logging.getLogger("zen.RRDUtil")
|
|||
EMPTY_RRD = zenPath('perf', 'empty.rrd')
|
|
Sanity check on the min, max values
|
Convert any value that is passed in to a string that is acceptable to use for RRDtool's start and end parameters. Raises ValueError if this is not possible. See the AT-STYLE TIME SPECIFICATION and TIME REFERENCE SPECIFICATION sections of the following document. http://oss.oetiker.ch/rrdtool/doc/rrdfetch.en.html Note: Currently this method is only fixing floats by turning them into strings with no decimal places. |
Parses a list of RRDtool gopts for DEFs. Runs all of the filenames referenced by those DEFs through the fixRRDFilename method to make sure that they will exist and not cause the rendering to fail. |
Attempting to render a graph containing a DEF referencing a non-existent filename will cause the entire graph to fail to render. This method is a helper to verify existence of an RRD file. If the file doesn't exist, a placeholder RRD filename with no values in it will be returned instead. |
|
__doc__
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1.1812 on Tue Oct 11 12:51:17 2011 | http://epydoc.sourceforge.net |