[rrd-users] Re: different right and left vertical axes?

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Wed Feb 28 01:55:15 MET 2001


> I know this is ugly and not ideal, but for various reasons I'd like to plot
> icmp rtt and packet loss percentage on the same graph. However, I'd like to
> have the round-trip time line (say green) have it's vertical axis on the left,
> zero through some upper maximum, and the percentage loss (zero to 100) as the
> right vertical axis. Is this possible using rrdtool graph? If so, how?

You can't have a second y-axis (yet?).

In case of round-trip times isn't it possible to just store and graph
them in miliseconds and display "ms or %" on the vertical label?

This of course will only work when your round-trip times are not
extremely high.  For round-trip times upto 100 ms, the graph will plot
one pixel per milisecond so your packet loss will be (barely) visible
when it hits 1%  If you have higher rtts or you want to see lower
percentages, you could increase the height of the graph.

To always start at 0, use "--lower-limit 0" as this sets the upper
limit for the lower limit of the graph (it can be less, not more).

To always show 0..100 and nothing else use
"--lower-limit 0 --upper-limit 100 --rigid"

If you leave out "--rigid", the graph can autoscale to above 100.

cheers,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| 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: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