[rrd-users] Re: Averages for graphed data

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Fri Mar 29 21:44:06 MET 2002

Faruk Grozdanic wrote:

> I have recently converted MRTG to use RRDtool. I think it is great, way 
> better then graphing that MRTG does. One thing that I would like is to 
> find the MAX & MIN values in the data that I am graphing. When MRTG did 
> the graphs it had a couple of lines on the bottom with, let us say, in 
> bytes Max, in bytes MIN, in Bytes AVERAGE values. I do not see an option 
> for this in rrdgraph manual. If someone knows how to generate this data 
> with rrdtool graph option, it would be great.

Read the man page for rrdgraph.  It is the PRINT function, or rather
the GPRINT if you like to show it on the image itself.

GPRINT:ds0:MAX:"Max. %6.2lf"
GPRINT:ds0:AVERAGE:"Avg. %6.2lf"
GPRINT:ds0:MIN:"Min. %6.2lf"
GPRINT:ds0:LAST:"Last %6.2lf"

and so on.

 / 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