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 <ralphmitchell at gmail.com>wrote:
On Thu, Dec 22, 2011 at 5:02 PM, Henrik Størner <henrik at hswn.dk> 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:
- resize all the the rrd files with 'rrdtool resize' - wrote a script for that
- alter server/etc/rrddefinitions.cfg to set the defaults for new rrd - done that
Did I miss anything?
Thanks,
Ralph Mitchell
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon