cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1602
Views
0
Helpful
2
Replies

Tracking dsp usage via snmp

Wayne Ficklin
Level 1
Level 1

For various reasons, we're transcoding all calls going across our SIP trunk.  After a nasty outage yesterday we've reconfigured and reappropriated some dsp resources. 

This whole situation is a stop gap, but in the meantime I've been tasked with graphing our dsp usage.

I see there's an oid  of .1.3.6.1.4.1.9.9.86.1.2.1.1.8 that is entitled cdspActiveChannels.  That or the .7 (InUseChannels) is what I need.  when I query my host w/ snmpwalk or mbrowse, it returns "No Such Object available on this agent at this OID"

I've verified that my version of IOS supports this oid in Cisco's MIB Locator.  I've verified the router supports it with this command:

<hostname>#show snmp mib | inc cdspActiveChannels

cdspActiveChannels

My snmpwalk command:

[user@durrell mibs]$ snmpwalk -Os -v2c -c ccitns 130.127.3.251 .1.3.6.1.4.1.9.9.86.1.2.1.1.8

Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/IP-MIB.txt)

Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt)

Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt)

enterprises.9.9.86.1.2.1.1.8.10 = Gauge32: 0

enterprises.9.9.86.1.2.1.1.8.11 = Gauge32: 0

enterprises.9.9.86.1.2.1.1.8.12 = Gauge32: 0

Any help?

2 Replies 2

david.schlenk
Level 1
Level 1

Those values exist in a table, so you need to get all the table entries. Looks like you're using net-snmp? Look into the snmptable command.

It looks like I'm getting slightly meaningful output here.  snmptable still eludes me.  (I'm clearly doing something wrong, but what it is isn't intuitive.)  The information in SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.8 is what I'm after, but after placing a call I don't see any incrementing.

[user@durrell mibs]$ pwd

/usr/share/snmp/mibs

[user@durrell mibs]$ ls CISCO-DSP*

CISCO-DSP-MGMT-MIB.my  CISCO-DSP-MGMT-MIB.oid

[user@durrell mibs]$ snmptable -v2c -m+CISCO-DSP-MGMT-MIB.my -c 1.3.6.1.4.1.9.9.86.1.2.1

MIB search path: /home/user/.snmp/mibs:/usr/share/snmp/mibs

Cannot find module (CISCO-DSP-MGMT-MIB.my): At line 1 in (none)

Was that a table? SNMPv2-SMI::enterprises.9.9.86.1.2.1

[user@durrell mibs]$ snmpwalk -v2c -m+CISCO-DSP-MGMT-MIB.my -c 1.3.6.1.4.1.9.9.86.1.2.1

MIB search path: /home/user/.snmp/mibs:/usr/share/snmp/mibs

Cannot find module (CISCO-DSP-MGMT-MIB.my): At line 1 in (none)

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.1.10 = INTEGER: 1

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.1.11 = INTEGER: 1

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.1.12 = INTEGER: 1

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.2.10 = Counter32: 0

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.2.11 = Counter32: 0

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.2.12 = Counter32: 0

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.3.10 = INTEGER: 2

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.3.11 = INTEGER: 2

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.3.12 = INTEGER: 2

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.4.10 = ""

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.4.11 = ""

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.4.12 = ""

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.5.10 = Timeticks: (0) 0:00:00.00

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.5.11 = Timeticks: (0) 0:00:00.00

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.5.12 = Timeticks: (0) 0:00:00.00

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.6.10 = Gauge32: 16

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.6.11 = Gauge32: 16

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.6.12 = Gauge32: 16

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.7.10 = Gauge32: 0

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.7.11 = Gauge32: 0

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.7.12 = Gauge32: 0

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.8.10 = Gauge32: 0

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.8.11 = Gauge32: 0

SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.8.12 = Gauge32: 0

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: