[rrd-users] MAX values dependant on width of graph
Alex van den Bogaerdt
alex at ergens.op.het.net
Fri Mar 7 14:36:02 CET 2008
On Fri, Mar 07, 2008 at 01:18:32PM -0000, Richard Burton wrote:
> Hi Alex
>
> I am using AVERAGE.
>
> Richard
>
>
> > On Fri, Mar 07, 2008 at 11:42:21AM -0000, Richard Burton wrote:
> >
> > > Below are the variables I am using when creating the archive, so in
> > > answer to your question I believe I am storing the RRA for MAX.
> > >
> > >
> > "RRA:AVERAGE:0.5:1:129600","RRA:AVERAGE:0.5:10:38880","RRA:AVE
> > RAGE:0.5:3
> > >
> > 0:52560","RRA:MAX:0.5:1:129600","RRA:MAX:0.5:10:38880","RRA:MA
> > X:0.5:30:5
> > > 2560"
> > >
> > > and yes they are both using the same datasets.
> >
> > Storing them is not enough. You also have to use them. What DEF
> > are you using in rrdtool graph?
which means you are looking at the maximum of all averages, not at
the maximum of all maximums.
Suppose three RRAs exist, one at 5 min. per row and two at 10 min.
Each PDP==300 seconds (--step 300)
1,3,5,3,5,3,1,3,5,3,1,5 average RRA, 1 PDP per CDP
\/ \/ \/ \/ \/ \/
2 4 4 2 4 3 average RRA, 2 PDP per CDP
3 5 5 3 5 5 maximum RRA, 2 PDP per CDP
Display the first RRA and see values in the range 1..5.
Now display the 2rd RRA (more time on graph) and see range 2..4
What you apparently want is to show the 3rd RRA, thus you need to use
MAX in your DEF.
--
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/
More information about the rrd-users
mailing list