[rrd-users] Re: How to add an AVERAGE line on graph

Serge Maandag serge.maandag at staff.zeelandnet.nl
Mon Oct 31 21:42:18 MET 2005


> The graphs of the data are fine, but I've been asked to add a 
> line showing the current AVERAGE. (a simple horizontal line 
> at the "current graph average" (ie 24) The definitions below 
> draw the graph fine, and display the max, average, and 
> current values itself. I've tried searching archives, google 
> and my last few months of this list, but can't find a way to 
> add a line for the average.

iirc, you could use HRULE:value:color with rrdtool 1.0.x and:

VDEF:avg=mydata,AVERAGE
LINE:avg

with rrdtool 1.2.x

Serge.

-------------
Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php

-------------
For the content of this e-mail message and its attachment(s) the following disclaimer applies: http://www.zeelandnet.nl/disclaimer.php

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list