At 11:17 AM 10/10/2002, Alex van den Bogaerdt wrote:

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

One note on this:  what CF (consolidation function) are you using on the 
RRA?  Probably AVERAGE.  If you tell PRINT to show the MIN or MAX, what 
you're getting is the min or max of the averaged values.  What you need to 
do, if you want to see real min and max is store, in addition to the 
AVERAGE RRA, two more RRAs using MIN and MAX, and print from the 
appropriate one for min and max.

>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

Thomas Erskine <[EMAIL PROTECTED]> +1.613.591.8490

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