[rrd-users] Re: Adding Max, Min and Ave values to graph
Carter, Steve
Steve.Carter at cwbar.cwplc.com
Thu Oct 10 17:33:09 MEST 2002
Ok,
Please bear with me for the question
- do I use RRDTOOL FETCH to retrieve the Min, Max and Ave ?? And if so, I
do I work with the output?
Or would I do this with the RRDTOOL GRAPH DEF function??
Thanks
Steve Carter
Data and IP Applications Dept.
Cable and Wireless Barbados Ltd.
Tel: 246-292-6156
Fax: 246-292-9240
Cell: 246-231-5359
-----Original Message-----
From: Alex van den Bogaerdt [mailto:alex at ergens.op.het.net]
Sent: Thursday, October 10, 2002 11:18 AM
To: Rrd-Users (E-mail)
Subject: [rrd-users] Re: Adding Max, Min and Ave values to graph
On Thu, Oct 10, 2002 at 09:52:55AM -0400, Carter, Steve wrote:
> Hi,
>
> I am plotting graphs on traffic usage in and out of a router. I would
also
> like to be able to show the Min, Max and Ave in bits/second on the graph
as
> well underneath the plot.
I guess that you mean the legend when you say "underneath the plot" ?
"on the graph" would indicate you want to draw a line, right?
Just use "rrdtool graph ...... PRINT...."
without doing any graphics.
(PRINT is just like GPRINT however it prints ascii to stdout
in stead of on the image/in the legend)
Now collect the numbers you just created, use them in the second
invocation of "rrdtool graph ...."
Use: HRULE:$somevar#FF0000:"Maximum incoming"
in the 2nd rrdtool invocation where $somevar is evaluated before
RRDtool sees it (so: rrdtool gets a number).
--
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
--
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