MIBs for DSL stats

MIBs for DSL stats

NewsGroups | Search | Tools
 comp.dcom.sys.cisco  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
MIBs for DSL stats alexd 07-26-2008
Posted by alexd on July 26, 2008, 6:18 am
If you were  Registered and logged in, you could reply and use other advanced thread options
I have all the Cisco MIBs in /usr/share/snmp/mibs/, however when I walk
the DSL stats bit of the tree, I get this from an 877:

# snmpwalk -v 2c -c woop 1.2.3.4 SNMPv2-SMI::transmission.94.1.1 -m all
SNMPv2-SMI::transmission.94.1.1.1.1.1.11 = INTEGER: 2
SNMPv2-SMI::transmission.94.1.1.1.1.2.11 = INTEGER: 2
SNMPv2-SMI::transmission.94.1.1.2.1.2.11 = STRING: "ALCB"
SNMPv2-SMI::transmission.94.1.1.2.1.3.11 = STRING: "0"
SNMPv2-SMI::transmission.94.1.1.2.1.4.11 = Gauge32: 260
SNMPv2-SMI::transmission.94.1.1.2.1.5.11 = Gauge32: 160
SNMPv2-SMI::transmission.94.1.1.2.1.7.11 = Gauge32: 185
SNMPv2-SMI::transmission.94.1.1.2.1.8.11 = Gauge32: 10420000
SNMPv2-SMI::transmission.94.1.1.3.1.1.11 = ""
SNMPv2-SMI::transmission.94.1.1.3.1.2.11 = STRING: "STMI"
SNMPv2-SMI::transmission.94.1.1.3.1.3.11 = STRING: "0"
SNMPv2-SMI::transmission.94.1.1.3.1.4.11 = Gauge32: 140
SNMPv2-SMI::transmission.94.1.1.3.1.5.11 = Gauge32: 300
SNMPv2-SMI::transmission.94.1.1.3.1.7.11 = Gauge32: 120
SNMPv2-SMI::transmission.94.1.1.3.1.8.11 = Gauge32: 973000
SNMPv2-SMI::transmission.94.1.1.4.1.2.11 = Gauge32: 8128000
SNMPv2-SMI::transmission.94.1.1.5.1.2.11 = Gauge32: 448000
...snipped...

And from an 1841 with 2xDSL:

SNMPv2-SMI::transmission.94.1.1.2.1.2.14 = STRING: "ALCB"
SNMPv2-SMI::transmission.94.1.1.2.1.2.15 = STRING: "ALCB"
SNMPv2-SMI::transmission.94.1.1.2.1.3.14 = STRING: "0"
SNMPv2-SMI::transmission.94.1.1.2.1.3.15 = STRING: "0"
SNMPv2-SMI::transmission.94.1.1.2.1.4.14 = Gauge32: 250
SNMPv2-SMI::transmission.94.1.1.2.1.4.15 = Gauge32: 250
SNMPv2-SMI::transmission.94.1.1.2.1.5.14 = Gauge32: 60
SNMPv2-SMI::transmission.94.1.1.2.1.5.15 = Gauge32: 70
SNMPv2-SMI::transmission.94.1.1.2.1.7.14 = Gauge32: 155
SNMPv2-SMI::transmission.94.1.1.2.1.7.15 = Gauge32: 175
SNMPv2-SMI::transmission.94.1.1.2.1.8.14 = Gauge32: 10983000
SNMPv2-SMI::transmission.94.1.1.2.1.8.15 = Gauge32: 11037000
SNMPv2-SMI::transmission.94.1.1.3.1.1.14 = STRING: "FOC110259BU"
SNMPv2-SMI::transmission.94.1.1.3.1.1.15 = STRING: "FOC110259RY"
SNMPv2-SMI::transmission.94.1.1.3.1.2.14 = STRING: "STMI"
SNMPv2-SMI::transmission.94.1.1.3.1.2.15 = STRING: "STMI"
SNMPv2-SMI::transmission.94.1.1.3.1.3.14 = STRING: "0"
SNMPv2-SMI::transmission.94.1.1.3.1.3.15 = STRING: "0"
SNMPv2-SMI::transmission.94.1.1.3.1.4.14 = Gauge32: 145
SNMPv2-SMI::transmission.94.1.1.3.1.4.15 = Gauge32: 180
SNMPv2-SMI::transmission.94.1.1.3.1.5.14 = Gauge32: 120
SNMPv2-SMI::transmission.94.1.1.3.1.5.15 = Gauge32: 120
SNMPv2-SMI::transmission.94.1.1.3.1.7.14 = Gauge32: 120
SNMPv2-SMI::transmission.94.1.1.3.1.7.15 = Gauge32: 120
SNMPv2-SMI::transmission.94.1.1.3.1.8.14 = Gauge32: 953000
SNMPv2-SMI::transmission.94.1.1.3.1.8.15 = Gauge32: 933000
SNMPv2-SMI::transmission.94.1.1.4.1.2.14 = Gauge32: 8128000
SNMPv2-SMI::transmission.94.1.1.4.1.2.15 = Gauge32: 7616000
SNMPv2-SMI::transmission.94.1.1.5.1.2.14 = Gauge32: 448000
SNMPv2-SMI::transmission.94.1.1.5.1.2.15 = Gauge32: 448000
...snipped...

The OIDs don't get translated into names. Am I missing a MIB? Obviously I
can work backwards from 'show dsl int ...' to work out what each OID is,
but that's far from ideal.

--
<http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm@ale.cx)
11:02:31 up 14 days, 13:38, 3 users, load average: 0.09, 0.07, 0.02
Convergence, n: The act of using separate DSL circuits for voice and data

Pure Networks
Posted by Doug McIntyre on July 26, 2008, 11:16 am
If you were  Registered and logged in, you could reply and use other advanced thread options
>I have all the Cisco MIBs in /usr/share/snmp/mibs/, however when I walk
>the DSL stats bit of the tree, I get this from an 877:

># snmpwalk -v 2c -c woop 1.2.3.4 SNMPv2-SMI::transmission.94.1.1 -m all
>SNMPv2-SMI::transmission.94.1.1.1.1.1.11 = INTEGER: 2

>The OIDs don't get translated into names. Am I missing a MIB? Obviously I
>can work backwards from 'show dsl int ...' to work out what each OID is,
>but that's far from ideal.

What is your setup like for the snmp cmds? Do you have the MIBs you
are interested in setup in the configs/environment vars, etc?

Try to add in some more mibs..

snmpwalk -m+ -v 2c ....


Posted by alexd on July 26, 2008, 1:06 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
On Sat, 26 Jul 2008 15:16:35 +0000, Doug McIntyre wrote:

> Try to add in some more mibs..
>
> snmpwalk -m+ -v 2c ....

I thought '-m all' covered it. However, a quick 'strace' reveals that
snmpwalk reads in /usr/share/snmp/mibs/.index to tell it what MIBs are
available to it. I must have updated it at some point as it contains some
vendor MIBs but not the Cisco ones. Just off to find out how I did it...

--
<http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm@ale.cx)
17:31:35 up 14 days, 20:07, 3 users, load average: 0.05, 0.08, 0.03
Convergence, n: The act of using separate DSL circuits for voice and data

Posted by alexd on July 26, 2008, 4:28 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
On Sat, 26 Jul 2008 17:06:09 +0000, alexd wrote:

> Just off to find out how I did it...

Well, turns out what I had weren't MIBs at all, but schema files created
with mib2schema. Now I actually have the MIB files and have updated
my .index as per

http://www.givingtree.com.cn/entry/Cannot-find-module-IP-MIB-At-line-0-in-
none-错误的修复

snmpwalk works great.

--
<http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm@ale.cx)
21:21:54 up 14 days, 23:57, 3 users, load average: 0.04, 0.09, 0.06
Convergence, n: The act of using separate DSL circuits for voice and data

Similar ThreadsPosted
Get Interface stats NOT VLAN stats on 6500 July 3, 2006, 7:14 am
CSS MIBS January 24, 2008, 1:43 pm
OIDs and MIBs July 21, 2004, 3:41 am
MIBs for 2924XL? March 10, 2005, 1:40 am
need MIBs for hits per VIP October 20, 2008, 3:52 pm
Cisco AP1200 MIBs May 18, 2006, 12:04 pm
Re: Cisco 2924XL SNMP (MIBs & VLAN switching) January 25, 2008, 1:38 pm
restrict cisco ping mibs by snmp-server command July 20, 2004, 11:17 pm
restrict cisco ping mibs by snmp-server command July 20, 2004, 11:17 pm
monitoring SAA stats from IPM August 9, 2004, 12:25 am

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map