[rrd-users] Change RRD Graph Definitions
James McDonald
j.mcdo73 at gmail.com
Tue Apr 3 12:55:20 CEST 2012
Thanks,
I think I found what I needed from this thread too:
http://community.zenoss.org/docs/DOC-4426. Newly created graphs now seem
to produce the LAST value as I want.
Is it possible to update the existing (old) graphs to include the LAST
value from now on, or do I need to start with fresh graphs and lose the
history (even though it is AVERAGE)?
Rgds,
> Date: Mon, 2 Apr 2012 13:18:27 +0100
> From: Simon Hobson <linux at thehobsons.co.uk>
> Subject: Re: [rrd-users] Change RRD Graph Definitions
> To: James McDonald <j.mcdo73 at gmail.com>, rrd-users at lists.oetiker.ch
> Message-ID: <p06240802cb9f48c14836 at simon.thehobsons.co.uk>
> Content-Type: text/plain; charset="us-ascii" ; format="flowed"
>
> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20120403/5307d484/attachment.htm
More information about the rrd-users
mailing list