[mrtg] ATM monitoring

Ivette Reategui reategi at mail.nlm.nih.gov
Mon Jan 14 18:04:58 MET 2002


Andreas,

Gabriel's question reminded me of a puzzle I tried to solve once, but left on the side and moved on to other projects.  I have been using mrtg to monitor an ASX-1000 switch for some time.  I was unable to graph traffic for individual PVCs.  After walking the MIB on the switch I came to the conclusion that there are not OIDs for individual PVCs.  Please correct me if I'm wrong.  

 A kind soul on the list gave me good pointers.  I used GetIf, and Solar Winds MibWalk utility to walk the MIB.  There I could see OIDs for the atm ports.  Specifically I was trying to graph traffic in/out of port 2D1.  I saw that the index number for port 2D1 was 1033.  Walking the tree I noticed the following:

interfaces.ifTable.ifEntry.ifDescr.1029   :   Atm Interface
interfaces.ifTable.ifEntry.ifDescr.1031   :   SONET Medium/Section/Line
interfaces.ifTable.ifEntry.ifDescr.1032   :   SONET Path
interfaces.ifTable.ifEntry.ifDescr.1033   :   Atm Interface
interfaces.ifTable.ifEntry.ifDescr.1034   :   Atm Interface 
interfaces.ifTable.ifEntry.ifDescr.1035   :   Atm Interface
interfaces.ifTable.ifEntry.ifDescr.1036   :   Atm Interface
interfaces.ifTable.ifEntry.ifDescr.1042   :   Atm Interface

I assumed that 1031 and 1032 were the two PVCs on port 2D1.  However there was no OID for ifInOctets and ifOutOctets for them.  My conclusion was that there are no OIDs for individual PVCs, therefore it's not possible to monitor traffic in/out for them.  What is your experience this.  Do you have any suggestions/input.  

TIA

- Ivette




On the MIB tree there were OIDs for 1031

>>> Andreas Nolte <anolte at ccietac.de> 01/14/02 08:07AM >>>


Hi,

I have here an ASX200 running. I have done a snmpwalk and  I got all the information about inOctets and outOctets from MIB2 based on the ifindex.



root at hydra:/usr/mrtg-data/anleitung > snmpwalk 10.100.10.69 20data00 interfaces | more
interfaces.ifNumber.0 = 24
interfaces.ifTable.ifEntry.ifIndex.1 = 1
interfaces.ifTable.ifEntry.ifIndex.2 = 2
interfaces.ifTable.ifEntry.ifIndex.3 = 3
interfaces.ifTable.ifEntry.ifIndex.4 = 4
interfaces.ifTable.ifEntry.ifIndex.5 = 5
interfaces.ifTable.ifEntry.ifIndex.6 = 6
interfaces.ifTable.ifEntry.ifIndex.7 = 7
interfaces.ifTable.ifEntry.ifIndex.1024 = 1024
interfaces.ifTable.ifEntry.ifIndex.1025 = 1025
interfaces.ifTable.ifEntry.ifIndex.1026 = 1026
interfaces.ifTable.ifEntry.ifIndex.1027 = 1027
interfaces.ifTable.ifEntry.ifIndex.1028 = 1028
interfaces.ifTable.ifEntry.ifIndex.1029 = 1029
interfaces.ifTable.ifEntry.ifIndex.1030 = 1030
interfaces.ifTable.ifEntry.ifIndex.1031 = 1031
interfaces.ifTable.ifEntry.ifIndex.1032 = 1032
interfaces.ifTable.ifEntry.ifIndex.1033 = 1033
interfaces.ifTable.ifEntry.ifIndex.1034 = 1034
interfaces.ifTable.ifEntry.ifIndex.1035 = 1035
interfaces.ifTable.ifEntry.ifIndex.1036 = 1036
interfaces.ifTable.ifEntry.ifIndex.1037 = 1037
interfaces.ifTable.ifEntry.ifIndex.1038 = 1038
interfaces.ifTable.ifEntry.ifIndex.1039 = 1039
interfaces.ifTable.ifEntry.ifIndex.1040 = 1040 
..
interfaces.ifTable.ifEntry.ifType.1 = softwareLoopback(24)
interfaces.ifTable.ifEntry.ifType.2 = ethernetCsmacd(6)
interfaces.ifTable.ifEntry.ifType.3 = other(1)
interfaces.ifTable.ifEntry.ifType.4 = ipOverAtm(114)
interfaces.ifTable.ifEntry.ifType.5 = ipOverAtm(114)
interfaces.ifTable.ifEntry.ifType.6 = ipOverAtm(114)
interfaces.ifTable.ifEntry.ifType.7 = ipOverAtm(114)
interfaces.ifTable.ifEntry.ifType.1024 = atm(37)
interfaces.ifTable.ifEntry.ifType.1025 = atm(37)
interfaces.ifTable.ifEntry.ifType.1026 = atm(37)
interfaces.ifTable.ifEntry.ifType.1027 = atm(37)
interfaces.ifTable.ifEntry.ifType.1028 = atm(37)
interfaces.ifTable.ifEntry.ifType.1029 = atm(37)
interfaces.ifTable.ifEntry.ifType.1030 = atm(37)
interfaces.ifTable.ifEntry.ifType.1031 = atm(37)
interfaces.ifTable.ifEntry.ifType.1032 = atm(37)
interfaces.ifTable.ifEntry.ifType.1033 = atm(37)
interfaces.ifTable.ifEntry.ifType.1034 = atm(37)
interfaces.ifTable.ifEntry.ifType.1035 = atm(37)
interfaces.ifTable.ifEntry.ifType.1036 = atm(37)
interfaces.ifTable.ifEntry.ifType.1037 = atm(37)
interfaces.ifTable.ifEntry.ifType.1038 = atm(37)
interfaces.ifTable.ifEntry.ifType.1039 = atm(37)
interfaces.ifTable.ifEntry.ifType.1040 = atm(37) 
..
..
interfaces.ifTable.ifEntry.ifInOctets.1 = Counter32: 391776
interfaces.ifTable.ifEntry.ifInOctets.2 = Counter32: 0
interfaces.ifTable.ifEntry.ifInOctets.3 = Counter32: 0
interfaces.ifTable.ifEntry.ifInOctets.4 = Counter32: 48613796
interfaces.ifTable.ifEntry.ifInOctets.5 = Counter32: 0
interfaces.ifTable.ifEntry.ifInOctets.6 = Counter32: 0
interfaces.ifTable.ifEntry.ifInOctets.7 = Counter32: 0
interfaces.ifTable.ifEntry.ifInOctets.1024 = Counter32: 335814163
interfaces.ifTable.ifEntry.ifInOctets.1025 = Counter32: 2220718522
interfaces.ifTable.ifEntry.ifInOctets.1026 = Counter32: 4093599996
interfaces.ifTable.ifEntry.ifInOctets.1027 = Counter32: 3787379757
interfaces.ifTable.ifEntry.ifInOctets.1028 = Counter32: 2645129630
interfaces.ifTable.ifEntry.ifInOctets.1029 = Counter32: 3191730306
interfaces.ifTable.ifEntry.ifInOctets.1030 = Counter32: 1512934631
interfaces.ifTable.ifEntry.ifInOctets.1031 = Counter32: 305316411
interfaces.ifTable.ifEntry.ifInOctets.1032 = Counter32: 0
interfaces.ifTable.ifEntry.ifInOctets.1033 = Counter32: 3959506669
interfaces.ifTable.ifEntry.ifInOctets.1034 = Counter32: 0
interfaces.ifTable.ifEntry.ifInOctets.1035 = Counter32: 3577156332
interfaces.ifTable.ifEntry.ifInOctets.1036 = Counter32: 2303814125
interfaces.ifTable.ifEntry.ifInOctets.1037 = Counter32: 2888835317
interfaces.ifTable.ifEntry.ifInOctets.1038 = Counter32: 161331286
interfaces.ifTable.ifEntry.ifInOctets.1039 = Counter32: 217141
interfaces.ifTable.ifEntry.ifInOctets.1040 = Counter32: 2578549152
..
..
interfaces.ifTable.ifEntry.ifOutOctets.1 = Counter32: 391776
interfaces.ifTable.ifEntry.ifOutOctets.2 = Counter32: 0
interfaces.ifTable.ifEntry.ifOutOctets.3 = Counter32: 0
interfaces.ifTable.ifEntry.ifOutOctets.4 = Counter32: 46745776
interfaces.ifTable.ifEntry.ifOutOctets.5 = Counter32: 0
interfaces.ifTable.ifEntry.ifOutOctets.6 = Counter32: 0
interfaces.ifTable.ifEntry.ifOutOctets.7 = Counter32: 0
interfaces.ifTable.ifEntry.ifOutOctets.1024 = Counter32: 335914280
interfaces.ifTable.ifEntry.ifOutOctets.1025 = Counter32: 3624692476
interfaces.ifTable.ifEntry.ifOutOctets.1026 = Counter32: 682012918
interfaces.ifTable.ifEntry.ifOutOctets.1027 = Counter32: 4286303611
interfaces.ifTable.ifEntry.ifOutOctets.1028 = Counter32: 2805221741
interfaces.ifTable.ifEntry.ifOutOctets.1029 = Counter32: 1001916213
interfaces.ifTable.ifEntry.ifOutOctets.1030 = Counter32: 1056726885
interfaces.ifTable.ifEntry.ifOutOctets.1031 = Counter32: 1047636637
interfaces.ifTable.ifEntry.ifOutOctets.1032 = Counter32: 768450922
interfaces.ifTable.ifEntry.ifOutOctets.1033 = Counter32: 4029389925
interfaces.ifTable.ifEntry.ifOutOctets.1034 = Counter32: 768450922
interfaces.ifTable.ifEntry.ifOutOctets.1035 = Counter32: 2256729899
interfaces.ifTable.ifEntry.ifOutOctets.1036 = Counter32: 1337939660
interfaces.ifTable.ifEntry.ifOutOctets.1037 = Counter32: 1014552623
interfaces.ifTable.ifEntry.ifOutOctets.1038 = Counter32: 3673717858
interfaces.ifTable.ifEntry.ifOutOctets.1039 = Counter32: 693856867
interfaces.ifTable.ifEntry.ifOutOctets.1040 = Counter32: 2997202853

*******************************************************************

You also can try to use the ATM mib. But normaly you get the info from MIB2.

I hope this helps.

Regards

Andreas





On Mon, 14 Jan 2002 07:01:03 -0500 (EST)
<glc57 at columbia.edu> wrote:

> 
> Hi everyone!  I am a student on an internship in Spain.  My 
> internship has involved using MRTG to generate network statistics for 
> the University of the Basque Country.  I have been able to get a 
> Cajun 880 up and running with MRTG and a couple of smaller boxes.  I 
> also helped them make a few small changes with the ifref commandline 
> option with cfgmaker.  They have asked me to use MRTG with an ASX1000 
> strictly for the ATM traffic.  I have encountered some problems.
>      Forgive me if these questions have been adressed before.  I 
> checked the archieves to the best of my ability and have only come 
> across information like using OIDs for CPU load.  This is not what I 
> am interested in.  I have a little bit of a language barrier here and 
> so perhaps some of the information I am going to relay to you is a 
> bit muddled, if so I am sorry, Spanish is my second language and no 
> one here speaks enough technical english to help me out.
>       My boss has asked me to moniter only the ATM traffic comming 
> into and out of the ASX 1000.  I first tried running the cfgmaker 
> with the filter option.  First with the ATM valiables $37 and $134 
> with a few boolean expressions.  then i tried $if_is_atm.  I got some 
> strange results.  None of which were what I was looking for.  Both 
> $37 and $134 came up with everything commented out because it didn t 
> meet the filter option.  And the $if_is_atm came up with the same 
> results as if I just ran cfgmaker without the filter.  So this leaves 
> me a little confused.  
>       Now I am not looking for anything related to ethernet and IP 
> connections, only what was hazily explained to me as the network 
> traffic on 34 Mbits.  Shamefully, I don t even know exactly what that 
> means.  Only that from my explanation in Spanish none of the 
> catagories I recieved from the original SNMP polls:el1, qaa0,qaa1, 
> qaa2, qaa3, asx0, and ie0 were of intrest for my boss.  I think those 
> came from using the ifref=descr.  
>       I assume, and here is where my main question lies, with MRTG I 
> can use the OIDs for each port of the ASX1000 to moniter the incoming 
> and outgoing traffic in similar fassion to the inOctets and outOctets 
> MRTG uses by default.  Is this correct?  If I knew exactly what ports 
> carried the information in question on 34Mbits could I use their 
> respective OIDs to achieve the ATM traffic monitering I want?
> 
> Thanks you!
> Gabriel
> 
> 
> --
> 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 
> 


-- 
******************

Andreas Nolte
Email: anolte at ccietac.de 


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


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