<div class="gmail_quote">On Thu, Dec 22, 2011 at 5: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="HOEnZb"><div class="h5">On 22-12-2011 22:56, James Wade wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm doing a new installation of xymon. Everything is working great, but<br>
I'm in the process of configuring and could use some assistance, so you<br>
might see a few more posts from me.<br>
<br>
Is there a way to have the graphs on each default to a different<br>
setting? As an example, when looking at cpu, instead of a two day graph<br>
have a one hour graph. Is there a global setting?<br>
</blockquote>
<br></div></div>
TRENDSECONDS in xymonserver.cfg. If you change this, then you'll probably also want to change the RRDWIDTH setting, which defines the size of the graph image.<br>
<br>
On <a href="http://www.xymon.com" target="_blank">www.xymon.com</a>, TRENDSECONDS is set to 259200 = 3 days, and RRDWIDTH is set to 864; the reasoning being that with measurements every 5 minutes there are 288 measurements per day, so 3 days = 864 measurements. Matching the RRDWIDTH setting with this means that each measurement gets 1 pixel.<br>
</blockquote><div><br></div><div><br></div><div>If I set  TRENDSECONDS & RRDWIDTH, I get blocky graphs, presumably due to there not being sufficient data at the normal resolution.  To fix that, I *think* I need to:</div>
<div><br></div><div>1) resize all the the rrd files with 'rrdtool resize' - wrote a script for that</div><div>2) alter server/etc/rrddefinitions.cfg to set the defaults for new rrd - done that</div><div><br></div>
<div>Did I miss anything?</div><div><br></div><div>Thanks,</div><div><br></div><div>Ralph Mitchell</div></div>