[rrd-users] Re: how to get Mbits per second on graph

Serge Maandag serge.maandag at staff.zeelandnet.nl
Mon Sep 16 11:11:36 MEST 2002


Check
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/manual/rrdgraph.html
for the -l, -u, -r and --units-exponent options. Be sure to read what
the options do.

Try something like -l 0 -u 1000000 -r --units-exponent 6

Serge Maandag.

-----Original Message-----
From: Ruslan Spivak [mailto:alienoid at is.lg.ua] 
Sent: Saturday, September 14, 2002 12:18 PM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] how to get Mbits per second on graph



Hello rrd-users,

I'm newbie and have one question.

I get statistics every five minutes using snmp from in and out
interface of router (in octets).

I want to have statistics of IN and OUT(in megabits per second) on one
picture with vertical
axe looking like this (from 0.0 to 1M):

  1M|
    |
0.8M|
    |
0.6M|
    |
0.4M|
    |
0.2M|
    |
 0.0|


/usr/local/rrdtool/bin/rrdtool graph /tmp/router.png \
                    --start -3600 \
                    --imgformat=PNG \
 
DEF:inoctets=/usr/local/rrdtool/db/db.rrd:input:AVERAGE \
 
DEF:outoctets=/usr/local/rrdtool/db/db.rrd:output:AVERAGE \
                   CDEF:inmbits=inoctets,131072,/ \
                   CDEF:outmbits=outoctets,131072,/ \
                   AREA:inmbits#00FF00:"In traffic" \
                   LINE2:outmbits#0000FF:"Out traffic"

But the result is not what I want.  (It shows on vertical axe 10M and
20M)

Your help is very, very appreciated.

Best regards,
 Ruslan                          mailto:alienoid at is.lg.ua

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