[mrtg] RES: problem with summing 2 100MB interfaces

ylf ylf at uol.com.br
Thu May 22 00:57:08 MEST 2003


hi Alex, All,

try running cfgmaker again in the switch. cfgmaker will find all the
interfaces (ethernet1, 2, 3...), and all the port channel (i.e.
eth1+eth2) as one interface. in the cfg file, the port channels will be
named as they are in the switch, port channel 1, port channel 2.

hope that helps. if not, send me amessage, and i can send to you a
example cfg file. but, again, cfgmaker do all the work for you.

regards.

Yuri

 

-----Mensagem original-----
De: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] Em
nome de Alex Kramarov
Enviada em: quarta-feira, 21 de maio de 2003 10:40
Para: mrtg at list.ee.ethz.ch
Assunto: [mrtg] problem with summing 2 100MB interfaces


Hi,
I have a cisco switch , where 2 ports configured as a port group
(aggregate traffic can be near 200MB). I have mrtg monitor each of the 2
interfaces fine, but i wanted to add a graph with a sum of the
interfaces :

this is the way i have defined it now :

WorkDir: /var/www/html/mrtg

Options[^]: noinfo,
Options[_]: bits

Target[BandwidthCombined]: 3:pass at cisco:::::2 + 4:pass at cisco:::::2
SetEnv[BandwidthCombined]: MRTG_INT_IP="" MRTG_INT_DESCR="Outer trunks :
combined bandwidth"
MaxBytes[BandwidthCombined]: 25000000
Title[BandwidthCombined]: Outer trunks : combined bandwidth
PageTop[BandwidthCombined]: <H1>Outer trunks : combined bandwidth</H1>

(it is now using snmp ver 2, i read in the list that this could help my
problem, but it doesn't).

each of the ports are monitored in a standalone graph :

Target[2]: 3:pass at cisco:
SetEnv[2]: MRTG_INT_IP="" MRTG_INT_DESCR="FastEthernet0/2"
MaxBytes[2]: 12500000
Title[2]: Upstream trunk connection 2
PageTop[2]: <H1>Upstream trunk connection 2</H1>

Target[3]: 4:pass at cisco:
SetEnv[3]: MRTG_INT_IP="" MRTG_INT_DESCR="FastEthernet0/3"
MaxBytes[3]: 12500000
Title[3]: Upstream trunk connection 3
PageTop[3]: <H1>Upstream trunk connection 3</H1>

Unfortunatelly, the aggregate graph does not display anything above
100MB, even through i do see in the log entried that approach 120 mb and
more (and the sum of the channels measured separatelly is around 120 MB
from time to time)

sample from the log :

1053520502 1919519777081 36176746333441
<snip>
1053440100 751704 11631086 751884 11631086
1053439800 698450 11631086 802212 11631086
1053439500 802130 11631086 802212 11631086
1053439200 777752 11632816 800410 12150128
1053438900 800218 12150128 800410 12150128
1053438600 742855 12150128 742855 12150128
1053438300 743752 12150128 796677 12150128
1053438000 796040 12150128 796677 12150128
1053437700 733094 12150128 762955 12150128
1053437400 762819 12145702 762955 12150128
1053437100 722087 10822477 722160 10822477
1053436800 704566 10561430 711232 10822477
1053436500 639491 8025555 639814 8025555
1053436200 543163 8026463 555362 8298191

it seems that the info is collected correctly, but is not graphed
correctly :

the graphs are at :

http://206.82.140.186/graphs/index3.html

from the graph of the combined bandwidth you can see that the combined
bandwidth did not exceed 100 mb at 16:30 yesterday, but the sum of the
trunks was much higher

i am running mrtg-2.9.29 on linux.

I would apreciate any ideas you could give me - this is a magor problem.

Thank you,

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 19/5/2003
 

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



More information about the mrtg mailing list