Bookmark this page:
Yahoo!
Windows Live
del.icio.us
digg
Netscape
|
|
||||||||||||||||
|
Posted by alexd on July 26, 2008, 6:18 am
Please log in for more thread options 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 | ||||||||||||||||
|
Posted by Doug McIntyre on July 26, 2008, 11:16 am
Please log in for more 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
Please log in for more 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
Please log in for more 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 Threads | Posted |
| MIBs for DSL stats | July 26, 2008, 6:18 am |
| Get Interface stats NOT VLAN stats on 6500 | July 3, 2006, 7:14 am |
| CSS MIBS | January 24, 2008, 1:43 pm |
| 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 |
| port stats | March 27, 2007, 2:46 pm |
| About getting VLAN Stats using SNMP | February 22, 2006, 10:24 am |
| Getting VLAN Stats using SNMP | April 7, 2006, 6:26 pm |
| 3550 Interface Stats | May 23, 2006, 11:37 am |
| Gathering network stats over time | October 7, 2005, 2:38 am |
| Catalysts Switch Interface Stats | October 31, 2005, 7:11 pm |
| 2970 traffic stats and VLANs | June 5, 2006, 11:57 am |
| 2970 traffic stats and VLANs | June 7, 2006, 2:48 pm |
| 2970 traffic stats and VLANs | June 21, 2006, 5:54 pm |

MIBs for DSL stats
Yahoo!
Windows Live
del.icio.us
digg
Netscape 




