<div class="gmail_quote">On Fri, Dec 23, 2011 at 6:02 PM, Henrik Størner <span dir="ltr"><<a href="mailto:henrik@hswn.dk">henrik@hswn.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On <a href="tel:23-12-2011%2023" value="+12312201123" target="_blank">23-12-2011 23</a>:59, Ralph Mitchell wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The one day graph *would* look fine, but I kinda like the 3-day.<br>
<br>
The "blocky" look I'm seeing comes from RRD generating the graph using<br>
the best datasource to fit the size you're asking for.  By default, the<br>
first data store contains 576 points at 5 minute intervals, which covers<br>
2 days.  The second data store contains 576 point at 30 minute<br>
intervals, which is 12 days.  Each of the 30-minute data points is<br>
generated by averaging together 6 of the 5-minute data points.  If you<br>
ask rrd to generate a 3 day graph, there are not enough points in the<br>
first data store, so it uses the second store and each point on the<br>
graph then covers more pixels.<br>
<br>
It's the same effect as zooming in on a graph.  To fix it, I've resized<br>
the existing RRDs to hold 864 data points, so there will be enough<br>
fine-grain data to get a decent 3-day graph.<br>
</blockquote>
<br></div>
Right, forgot to mention that I've done something similar on the <a href="http://www.xymon.com" target="_blank">www.xymon.com</a> site.<br>
<br>
You can change it in "rrddefinitions.cfg", but it will not change any existing files - only newly created ones.<br></blockquote><div><br></div><div>OK, thanks.  That's what I was wondering - is there anything still compiled in?  I guess that's a "not any more".</div>
<div><br></div><div>I've thrown together a script to resize the existing RRD files, seems to work OK.  It just gets the RRA list from "rrdtool info", then loops through resizing one at a time.  I'd post the script, but it's at work and I'm not...  :-)   If anyone is interested, it shouldn't take too long to re-invent.</div>
<div><br></div><div>Ralph Mitchell</div></div>