[rrd-users] find out the current scale (output from autoscaler)

A Darren Dunham ddunham at taos.com
Fri Jan 9 17:39:39 CET 2009

On Fri, Jan 09, 2009 at 01:32:23PM +0100, Karl Fischer wrote:
> Scott Brumbaugh wrote:
> > If we call rrd_graph (perl bindings) like this,
> > 
> >  @max = RRDs::graph('/dev/null', ..., @DEFS, @VDEFS, @PRINTS);
> > 
> > The result @max contains the peak values for all the timeseries,

> Thanks Scott,
> I'm doing basically the same within one graph call rather than having
> to do a second one to find out the scale like in your example ...
> The problem is I'm guessing the scale to be 20% larger than the peak
> value, which isn't right.

I think using 'graphv' would give you the top of the graph, not the top
of the data.  But you couldn't do it in the same graph call, and I'm not
sure that it's present in 1.2.


More information about the rrd-users mailing list