[rrd-users] Re: multipule ports

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Mon Mar 19 23:20:08 MET 2001

dk wrote:
>     This might be a retarded question but, I've checked all the pages and can't seem to find anything on this.  My customers have a connection to two different switches for redundancy.  Is there any way to get rrd combine both of these ports and make one rrd file?  Any help would be appreciated. 

You can:
- combine the two readings and store the result into one rrd.  This
  can be compared with the MRTG approach Target[c]: 1:x at r1 + 1:x at r2
  When you read this data from the RRD and graph it, it just looks
  like one switchport that is graphed
- put the two readings in one rrd but as separate datasources. This
  results in two (or four if you have both in and out) DSes.
  When you graph this, you can add the two rates together and, as a
  bonus you can stack the values on top of each other to check the
  load balancing (if any)
- put each reading in a separate rrd, see #2 for the rest.

My advice is to keep the two datasources separate until graph time.
If the situation changes (for instance: a 3rd connection, or only 1),
you can easely change the grapher scripts. Putting more than one port
in a file is asking for trouble in most cases. It will work but is not
as flexible.

 / 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