<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 &lt;<a href="mailto:linux@thehobsons.co.uk">linux@thehobsons.co.uk</a>&gt;<br>
Subject: Re: [rrd-users] Change RRD Graph Definitions<br>
To: James McDonald &lt;<a href="mailto:j.mcdo73@gmail.com">j.mcdo73@gmail.com</a>&gt;, <a href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a><br>
Message-ID: &lt;<a href="mailto:p06240802cb9f48c14836@simon.thehobsons.co.uk">p06240802cb9f48c14836@simon.thehobsons.co.uk</a>&gt;<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot; ; format=&quot;flowed&quot;<br>
<br>
James McDonald wrote:<br>
<br>
&gt;The standard built-in graph defintion is as follows :<br>
&gt;<br>
&gt;[test-name]<br>
&gt;<br>
&gt;.....<br>
&gt;<br>
&gt;DEF:p@RRDIDX@=@RRDFN@:sec:AVERAGE<br>
&gt;<br>
&gt;LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@<br>
&gt;<br>
&gt;GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf%s (avg)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;Do I need to simply delete the related graphs, change the definition<br>
&gt;accordingly for the &quot;LAST&quot;, and then have the graphs recreated?<br>
<br>
I think so, but you may need to check what&#39;s in the RRD file. If you<br>
were selecting Min or Max then you&#39;d need a Min or Max consolidation<br>
- min/max of an average consolidation doesn&#39;t give you the same thing.<br>
I&#39;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>