Xymon Mailing List Archive search

Default Graph SIze

list James Wade
Fri, 23 Dec 2011 14:09:56 -0600
Message-Id: <CAHKWdPR_CRF_wtdseJ=user-251c107ae247@xymon.invalid>

Ralph,

I just changed TrendSeconds to 8640 (1 day)  and left the RRDWIDTH the
same. I get a one day graph which looks fine.

James

On Fri, Dec 23, 2011 at 9:38 AM, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid>wrote:
On Thu, Dec 22, 2011 at 5:02 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
On 22-12-2011 22:56, James Wade wrote:
I'm doing a new installation of xymon. Everything is working great, but
I'm in the process of configuring and could use some assistance, so you
might see a few more posts from me.

Is there a way to have the graphs on each default to a different
setting? As an example, when looking at cpu, instead of a two day graph
have a one hour graph. Is there a global setting?
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.

On www.xymon.com, 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.
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:

1) resize all the the rrd files with 'rrdtool resize' - wrote a script for
that
2) alter server/etc/rrddefinitions.cfg to set the defaults for new rrd -
done that

Did I miss anything?

Thanks,

Ralph Mitchell