<div class="gmail_quote"><div>Thanks,</div><div> </div><div>I think I found what I needed from this thread too: <a href="http://community.zenoss.org/docs/DOC-4426">http://community.zenoss.org/docs/DOC-4426</a>. Newly created graphs now seem to produce the LAST value as I want.</div>
<div> </div><div> </div><div>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)?</div><div> </div>
<div> </div><div>Rgds,</div><div> </div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">Date: Mon, 2 Apr 2012 13:18:27 +0100<br>
From: Simon Hobson <<a href="mailto:linux@thehobsons.co.uk">linux@thehobsons.co.uk</a>><br>
Subject: Re: [rrd-users] Change RRD Graph Definitions<br>
To: James McDonald <<a href="mailto:j.mcdo73@gmail.com">j.mcdo73@gmail.com</a>>, <a href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a><br>
Message-ID: <<a href="mailto:p06240802cb9f48c14836@simon.thehobsons.co.uk">p06240802cb9f48c14836@simon.thehobsons.co.uk</a>><br>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"<br>
<br>
James McDonald wrote:<br>
<br>
>The standard built-in graph defintion is as follows :<br>
><br>
>[test-name]<br>
><br>
>.....<br>
><br>
>DEF:p@RRDIDX@=@RRDFN@:sec:AVERAGE<br>
><br>
>LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@<br>
><br>
>GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf%s (avg)<br>
><br>
><br>
><br>
>Do I need to simply delete the related graphs, change the definition<br>
>accordingly for the "LAST", and then have the graphs recreated?<br>
<br>
I think so, but you may need to check what's in the RRD file. If you<br>
were selecting Min or Max then you'd need a Min or Max consolidation<br>
- min/max of an average consolidation doesn't give you the same thing.<br>
I'm not sure about Last - but I think the same applies, ie Last of a<br>
2hr Average consolidation would be the last value after computing the<br>
2hr average.<br>
<br>
--<br>
Simon Hobson<br>
<br>
Visit <a href="http://www.magpiesnestpublishing.co.uk/" target="_blank">http://www.magpiesnestpublishing.co.uk/</a> for books by acclaimed<br>
author Gladys Hobson. Novels - poetry - short stories - ideal as<br>
Christmas stocking fillers. Some available as e-books.
<br></blockquote></div>