[mrtg] Adding four interfaces

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


Hello,

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[10.1.1.1_23]: 23:mystring at 199.196.26.151:
SetEnv[10.1.1.1_23]: MRTG_INT_IP=""
MRTG_INT_DESCR="Nortel-Networks-BayStack-470_48-Ethernet-Switch-Module---Port-23"
MaxBytes[10.1.1.1_23]: 12500000
Title[10.1.1.1_23]: Nortel Networks BayStack 470_48 Ethernet Switch
Module - Port 23   -- 470A526151
PageTop[10.1.1.1_23]: <H1>Nortel Networks BayStack 470_48 Ethernet
Switch Module - Port 23   -- 470A526151</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>Nortel Router</TD></TR>
   <TR><TD>Maintainer:</TD> <TD></TD></TR>
   <TR><TD>Description:</TD><TD>Nortel-Networks-BayStack-470_48-Ethernet-Switch-Module---Port-23
 </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>
 </TABLE>

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