[rrd-users] Re: Another question about MAX value
Alex van den Bogaerdt
alex at slot.hollandcasino.nl
Wed Apr 17 00:00:49 MEST 2002
Sorrell, Al wrote:
> I _thought_ I understood this, but...
> "RRA:AVERAGE:0.5:$keep_raw_steps:$keep_raw",
> "RRA:MAX:0.5:$keep_raw_steps:$keep_raw"
good
> "DEF:dis=$rrdfile:dis:AVERAGE",
> "DEF:busy=$rrdfile:busy:AVERAGE",
> "DEF:idle=$rrdfile:idle:AVERAGE",
> "GPRINT:busy:MAX:Max %1.0lf circuits busy for range plotted.\\c";
You are GPRINTing max(avg(Value 1..n))
What you want is GPRINT max(max(Value 1..n))
In other words: another DEF, this time actually using the MAX RRA, and
then you use *that* variable in the GPRINT statement.
> seen during the 7 day plot. Since there is (should be) no aggregation of the
Why not? Your image isn't one pixel per 5 minutes, is it?
Consolidation/aggregation happens when needed. This can be because it
is needed for an RRA but also if there is no suitable RRA at hand to
create the image. If all there is is an RRA with 5 minutes per CDP
yet you are graphing with one hour per pixel, 12 values need to be
aggregated into one, for each pixel.
HTH
--
__________________________________________________________________
/ 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
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list