[rrd-users] week-graph only showing 3 days instead of 7

Alex van den Bogaerdt alex at vandenbogaerdt.nl
Mon May 11 14:29:45 CEST 2009


----- Original Message ----- 
From: "Karsten Haak" <karsten.haak at gmail.com>
To: <rrd-users at lists.oetiker.ch>
Sent: Monday, May 11, 2009 2:16 PM
Subject: [rrd-users] week-graph only showing 3 days instead of 7


> Hello everybody,
>
> we got graphs showing our data for the last day, week, month, year. 
> However,
> the week-graph only shows the last 3 days and never more (yes, it runs 
> since
> a much longer time already).
>
>>From parameters it **should** be ok - I am already the second person to
> examine this and we both couldn't find any error. :(
>
> Here our database definition:
>
>            RRDs::create "$rrd/$_[0].rrd",
>                        "-s 60",
>                        "DS:crs1:GAUGE:600:0:140",
>                        "DS:crs2:GAUGE:600:0:140",
>                        "DS:crs3:GAUGE:600:0:180",
>                        "DS:crs4:GAUGE:600:0:180",
>                        "DS:crs5:GAUGE:600:0:180",
>                        "DS:crs6:GAUGE:600:0:180",
>                        "DS:crs7:GAUGE:600:0:180",
>                        "DS:crs8:GAUGE:600:0:180",
>                        "RRA:AVERAGE:0.5:1:1440",
>                        "RRA:AVERAGE:0.5:30:336",
>                        "RRA:AVERAGE:0.5:120:3600",
>                        "RRA:AVERAGE:0.5:1440:797",
>                        "RRA:MAX:0.5:1:600",
>                        "RRA:MAX:0.5:6:700";
>
> So this
>
> "RRA:AVERAGE:0.5:1:1440",
> "RRA:AVERAGE:0.5:30:336",
>
> should be ok for having data for a week? Every 30 minutes one data point
> makes 336 data points for a week, right? We even tried with 700, without 
> any
> change.
>
> Any help would be appreciated. :-)


Are you looking at averages, or at maximums?

I notice RRA:MAX:0.5:6:700 is 700*6 minutes is almost 3 days.

Have you looked at the output of rrdtool dump ?



More information about the rrd-users mailing list