# [rrd-users] Re: Solution for consistent max values

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Thu Nov 8 23:25:56 MET 2001

```estreigh at nexl.com wrote:
>
>
> Yes... excellent observation... I was confusing max of averages and max of
> maxima. I am now thinking that in order to display the max max I will need
> to create a second set of graphs.

Not necessarily.  It depends on what you want to show.

If you want to show what the maximum value was during an interval,
even if this interval was built by consolidating multiple other
intervals, you should (IMHO) use the maximum of the maxima.

I myself don't see much use in the maximum of the averages.  Therefore
my graphs show the minima, averages and maxima; I gprint the minimum
of the minima, the average of the averages and the maximum of the
maxima.

DEF:DS0min=internetrouter.rrd:ds0:MIN
DEF:DS0avg=internetrouter.rrd:ds0:AVERAGE
DEF:DS0max=internetrouter.rrd:ds0:MAX
...
LINE1:DS0min#FF0000:"Maximum"
GPRINT:DS0max:MAX:"%6.2lfsbps\n"
LINE1:DS0avg#00CC00:"Average"
GPRINT:DS0avg:AVERAGE:"%6.2lfsbps\n"
LINE1:DS0min#FF0000:"Maximum"
GPRINT:DS0min:MIN:"%6.2lfsbps\n"

Note that if you don't show the line with the maxima and do print the
maximum value seen, you are probably printing a value that you cannot
see on the graph... (printing the maximum of the averages would overcome
this however that would by lying IMHO).

HTH
---

>
> Thanks for the assist...
> Erik Streight
> estreigh at nexl.com
>
>
> > -----Original Message-----
> > From: Alex van den Bogaerdt [mailto:alex at slot.hollandcasino.nl]
> > Sent: Thursday, November 08, 2001 4:34 AM
> > To: estreigh at nexl.com
> > Cc: rrd-users at list.ee.ethz.ch
> > Subject: Re: [rrd-users] Solution for consistent max values
> >
> > estreigh at nexl.com wrote:
> > >
> > > 'lo all...
> > >
> > > I am looking at four graphs of the same data, hourly, daily, monthly and
> > > yearly. I understand the reason that the max value in the yearly graph
> > is
> > > lower than the max value in the hourly graph
> >
> > I don't.  Are you sure you understand the difference between:
> >
> > a)  the maximum of all averages
> > b)  the maximum of all maxima
> >
> > I ask this because I think you are viewing (a) and are looking for (b).
> >
> > >                                               but my question is this.
> > Would
> > > the results be less than desirable if I chose to store my MAX
> > consolidated
> > > data points in an RRA every 300 seconds for a full year? This would
> > result
> > > in 525600 consolidated data points being stored in the same RRA. When I
> > then
> > > build the graphs the MAX would be consistent throughout. I wonder how
> > large
> > > the RRD file would be.
> >
> > Consolidation will occur at graph time in stead of collect time.  Unless
> > you
> > actually use the values in that high resolution (for instance: 100 days
> > ago
> > to 99 days ago, in a 5-minute resolution) I don't think there is a
> > difference.
> >
> > cheers,
> > --
> >    __________________________________________________________________
> >  / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
> > | work                                                         private |
> > | My employer is capable of speaking therefore I speak only for myself |
> > +----------------------------------------------------------------------+
> > | Technical questions sent directly to me will be nuked. Use the list. |
> > +----------------------------------------------------------------------+
> > | http://faq.mrtg.org/                                                 |
> > | http://rrdtool.eu.org  --> tutorial                                  |
> > +----------------------------------------------------------------------+
>

--
__________________________________________________________________
/ alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. |
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users