[rrd-users] Change RRD Graph Definitions

Simon Hobson linux at thehobsons.co.uk
Mon Apr 2 14:18:27 CEST 2012


James McDonald wrote:

>The standard built-in graph defintion is as follows :
>
>[test-name]
>
>.....
>
>DEF:p at RRDIDX@=@RRDFN@:sec:AVERAGE
>
>LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@
>
>GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf%s (avg)
>
>
>
>Do I need to simply delete the related graphs, change the definition 
>accordingly for the "LAST", and then have the graphs recreated?

I think so, but you may need to check what's in the RRD file. If you 
were selecting Min or Max then you'd need a Min or Max consolidation 
- min/max of an average consolidation doesn't give you the same thing.
I'm not sure about Last - but I think the same applies, ie Last of a 
2hr Average consolidation would be the last value after computing the 
2hr average.

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.



More information about the rrd-users mailing list