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:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
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

Reply via email to