[mrtg] Re: Adding four interfaces

Melih Turan melih.turan at tr.net
Mon Oct 24 14:37:44 MEST 2005


Hi,

Remove the colon at the and of the Target line. Put a plus after a blank.
The write the target line of the other interface. Do the steps for the other
interfaces.

Best Regards,

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On
Behalf Of Shane Presley
Sent: 24 Ekim 2005 Pazartesi 15:30
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Adding four interfaces

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


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