[rrd-users] Re: Graph total of multible interfaces?

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Thu Aug 9 15:23:31 MEST 2001


Hewett, Nigel wrote:

> Is it possible to graph on one graph the total bytes in / out from several
> interfaces. ie cisco 7200 with 26 2meg atm interfaces to our remote sites,
> these are currently being graphed intervidually but would like to graph the
> total of all interfaces on the 7200

Sure, it should be possible.  Since you post this on the rrd-users list I can
safely assume you're using RRDtool.  Without changing *anything* in your
current setup you can start generating some sample images and evaluate them.

Example (you fill in the "..." part)
rrdtool graph /path/to/image.png -a PNG --start end-24h --end midnight \
DEF:link01inbound=/path/to/RRDfile01:ds0:AVERAGE \
DEF:link01outbound=/path/to/RRDfile01:ds1:AVERAGE \
DEF:link02inbound=/path/to/RRDfile02:ds0:AVERAGE \
DEF:link02outbound=/path/to/RRDfile02:ds1:AVERAGE \
...
DEF:link26inbound=/path/to/RRDfile26:ds0:AVERAGE \
DEF:link26outbound=/path/to/RRDfile26:ds1:AVERAGE \
CDEF:totalinbound=link01inbound,link02inbound,...link26inbound,+,+,+...
CDEF:totaloutbound=link01outbound,link02outbound,...link26outbound,+,+,+...
AREA:totalinbound#00CC00:"total inbound " \
GPRINT:totalinbound:MAX:"%6.2lf %s" \
GPRINT:totalinbound:AVERAGE:"%6.2lf %S" \
GPRINT:totalinbound:MIN:"%6.2lf %S\n" \
AREA:totaloutbound#00CC00:"total outbound" \
GPRINT:totaloutbound:MAX:"%6.2lf %s" \
GPRINT:totaloutbound:AVERAGE:"%6.2lf %S" \
GPRINT:totaloutbound:MIN:"%6.2lf %S\n"

You may want to read my tutorial, it can be found in the distribution
and on the web.

>                                     or do you know of a OID for the 7200
> that can pull back total bytes in / out.

Check the links section of the MRTG FAQ.  There's a new link which points
to helpful cisco information.  Maybe it's there.

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