Antonio Navarro Navarro wrote: > I'm graphing several metrics of server traffic using RRD, and want to > draw a HRULE at the average of the values. Can I get the average value > of the time series drawn without having to dump all the data and > compute it myself?
You can use "rrdtool graph" not only to actually create an image, you can also use it to calculate a text report. Read the rrdgraph manual and look specifically for "PRINT" (-->not<-- GPRINT). Use the resulting value in a second call to rrdtool, inside the HRULE statement. HTH -- __________________________________________________________________ / [EMAIL PROTECTED] [EMAIL PROTECTED] \ | 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:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
