[mrtg] Re: OID's used for SNMPV2 Counter
Daniel J McDonald
dmcdonald at digicontech.com
Mon Oct 1 18:56:30 MEST 2001
It uses .1.3.6.1.2.1.31.1.1.1.6.n
and .1.3.6.1.2.1.31.1.1.1.10.n
e.g:
[dmcdonald at netmon dmcdonald]$ snmpwalk 172.16.0.1 public ifHCInOctets -v2c
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCInOctets.2 = Counter64: 154571703
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCInOctets.24 = Counter64: 0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCInOctets.25 = Counter64: 0
[dmcdonald at netmon dmcdonald]$ snmpwalk 172.16.0.1 public
ifHCInOctets -v2c -On
.1.3.6.1.2.1.31.1.1.1.6.2 = Counter64: 154571703
.1.3.6.1.2.1.31.1.1.1.6.24 = Counter64: 0
.1.3.6.1.2.1.31.1.1.1.6.25 = Counter64: 0
[dmcdonald at netmon dmcdonald]$ snmpwalk 172.16.0.1 public ifHCOutOctets -v2c
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCOutOctets.2 = Counter64: 161108486
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCOutOctets.24 = Counter64: 156896
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCOutOctets.25 = Counter64: 0
[dmcdonald at netmon dmcdonald]$ snmpwalk 172.16.0.1 public
ifHCOutOctets -v2c -On
.1.3.6.1.2.1.31.1.1.1.10.2 = Counter64: 161108486
.1.3.6.1.2.1.31.1.1.1.10.24 = Counter64: 157268
.1.3.6.1.2.1.31.1.1.1.10.25 = Counter64: 0
[dmcdonald at netmon dmcdonald]$
Note that there are zero values on a 3640 router running IOS 12.2.1, and
that neither the sub-interfaces on the Fast Ethernet interface (802.1Q
encapsulated) nor the sub-interfaces on the frame connections are
supported.... The output traffic on the loopback is probably genuine - I do
some really funky things with routing on this box...
[dmcdonald at netmon dmcdonald]$ snmpwalk 172.16.0.1 public ifName -v2c
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.1 = Se0/0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.2 = Fa0/0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.3 = BR3/0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.4 = BR3/0:1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.5 = BR3/0:2
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.6 = BR3/1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.7 = BR3/1:1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.8 = BR3/1:2
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.9 = BR3/2
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.10 = BR3/2:1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.11 = BR3/2:2
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.12 = BR3/3
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.13 = BR3/3:1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.14 = BR3/3:2
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.15 = Nu0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.16 = T1 0/1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.17 = T1 0/2
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.18 = Foreign Exchange Station
2/0/0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.19 = Foreign Exchange Station
2/0/1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.20 = Foreign Exchange Station
2/1/0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.21 = Foreign Exchange Station
2/1/1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.22 = Se0/1:0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.23 = Se0/2:0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.24 = Lo0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.25 = Lo1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.26 = Se0/0.101
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.27 = Se0/0.104
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.28 = Se0/0.106
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.29 = Se0/0.109
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.30 = Se0/0.110
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.31 = Se0/0.120
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.32 = Se0/1:0.103
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.33 = Se0/1:0.107
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.34 = Se0/1:0.108
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.35 = Se0/1:0.111
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.36 = Se0/1:0.113
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.37 = Se0/1:0.115
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.38 = Se0/1:0.120
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.39 = Se0/1:0.200
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.40 = Se0/2:0.100
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.41 = Se0/2:0.102
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.42 = Se0/2:0.106
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.43 = Se0/2:0.107
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.44 = Se0/2:0.113
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.45 = Se0/2:0.115
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.46 = Se0/2:0.116
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.47 = Se0/2:0.201
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.48 = Di1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.49 = VoiceEncapPeer50
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.50 = VoiceEncapPeer502
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.51 = VoiceOverIpPeer5
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.52 = VoiceEncapPeer503
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.53 = VoiceEncapPeer504
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.54 = VoiceEncapPeer5091
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.55 = VoiceEncapPeer5092
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.56 = BR3/0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.57 = BR3/0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.58 = BR3/0:1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.59 = BR3/0:2
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.60 = BR3/1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.61 = BR3/1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.62 = BR3/1:1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.63 = BR3/1:2
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.64 = BR3/2
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.65 = BR3/2
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.66 = BR3/2:1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.67 = BR3/2:2
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.68 = BR3/3
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.69 = BR3/3
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.70 = BR3/3:1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.71 = BR3/3:2
-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
Behalf Of Dave Williams
Sent: Monday, October 01, 2001 11:09 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] OID's used for SNMPV2 Counter
I noticed that one of my MRTG graphs has quit collecting data on a Cisco
ATMOC-3 Interface. I was collecting data at the global interface level so I
was using the format: [target]: 2:snmpassword at router:::::2 to get SNMPV2
counters. Unfortunately I'm not sure what OID this translates to. Can
someone respond with the .1.3.1.4... numbers so for the InOctets and
OutOctets so I can debug this with SNMPWALK tool. Thanks
--
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