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

Ruslan Spivak alienoid at is.lg.ua
Sat Sep 14 12:17:52 MEST 2002


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



More information about the rrd-users mailing list