[mrtg] Adding four interfaces

Shane Presley shane.presley at gmail.com
Mon Oct 24 14:29:44 MEST 2005


I have a router, with 48 interfaces (no VLANs).

Four of those segments will be moving to another building, so I want
to graph the total bandwidth of those four.

Using MRTG, I know you can do addition, but I can't get the syntax
right.  How could I add interfaces 23, 24, 25, 26 together to produce
one graph.  Is that possible?

Here's my code for interface 23...

### Interface 23 >> Descr:
'Nortel-Networks-BayStack-470_48-Ethernet-Switch-Module---Port-23' |
Name: 'ifc23 (Slot: 1 Port: 23)' | Ip: '' | Eth: '' ###

Target[]: 23:mystring at
SetEnv[]: MRTG_INT_IP=""
MaxBytes[]: 12500000
Title[]: Nortel Networks BayStack 470_48 Ethernet Switch
Module - Port 23   -- 470A526151
PageTop[]: <H1>Nortel Networks BayStack 470_48 Ethernet
Switch Module - Port 23   -- 470A526151</H1>
   <TR><TD>System:</TD>     <TD>Nortel Router</TD></TR>
   <TR><TD>Maintainer:</TD> <TD></TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>ifc23 (Slot: 1 Port: 23)</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>12.5 MBytes/s</TD></TR>

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the mrtg mailing list