cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1464
Views
11
Helpful
6
Replies

Getting Channel Usage from 3845

fredsanford
Beginner
Beginner

I am trying to get channel usage from our 3845 with C3845-ADV​IPSERVICES​K9-M), Version 12.4(20)T4​, RELEASE SOFTWARE (fc4) using snmp with no luck.

I am going after cpmActiveDS0s or

cpmDS1ActiveDS0s
with no luck. also tried
isdnBearerOperStatus with no success.  I get sub-id not found.
I did a snmp walk and these objects exists. 
( Also tried snmpget -v 2c -c ****** ***.**.**.*** 1.3.6.1.2.1.10.20.1.2.1.1.2 with no success)
What am I missing and how to I install them?

Thanks


6 Replies 6

paolo bevilacqua
Hall of Fame Master Hall of Fame Master
Hall of Fame Master

For voice PRI, I use cvCallActiveDS0s (1.3.6.1.4.1.9.9.63.1.3.3), works fine.

Ok.  I found out what I was doing wrong.

Very good, please remember to rate useful posts clicking on the stars below.

fredsanford wrote:

Ok.  I found out what I was doing wrong.

Could you expand on what you found was happening ?

I have worked on this issue for some time, and would love to know how you can get reliable stats for PRI Usage.

See my comments to another ticket on the same issue below:

Have you had any responses to this issue ?

I  am running into exactly the same issue and have tried everything I can  find to get these individual PRI (count of channels/lines in use)  statistics.

Just  for the record, here are some of the SNMP OIDs that I have tried (the  ISRs do respond to them, only thing is, the data they send back is  mostly rubbish...) the output below is from two separate routers, with  different versions of IOS running (which is shown in the sysdescr  response):

Note that the query in red in the second router was responded to with a valid response in the FIRST router...

All  of these OIDs have been suggested at various sites online as useable  SNMP OIDs for the ISR, but at other sites, they are suggested to be  faulty.  I have found no definitive statement for ways to get these  stats successfully on the ISR platform (which amazes me.)  Output below  is using net-snmp to collect the stats.

I  welcome any suggestions as to how this can be done reliably for the  ISR, and what IOS versions WILL work.  (since I am getting way different  reponses to the same OIDs on the two versions below).

You'll see that for the second (DC) router below, the values are always Zero.

Yet I can guarantee that the ACTUAL stats are NEVER zero during the time period queried.

Timestamp: 2010-12-27_13:56:31.73

C:\usr\share\snmp\mibs>snmptranslate -On CISCO-POP-MGMT-MIB::cpmActiveDS0s.0
.1.3.6.1.4.1.9.10.19.1.1.4.0

C:\usr\share\snmp\mibs>snmptranslate -On CISCO-POP-MGMT-MIB::cpmDS1ActiveDS0s.0.0
.1.3.6.1.4.1.9.10.19.1.1.9.1.3.0.0

C:\usr\share\snmp\mibs>snmptranslate -On CISCO-POP-MGMT-MIB::cpmISDNCfgBChannelsInUse.0
.1.3.6.1.4.1.9.10.19.1.1.3.0

C:\usr\share\snmp\mibs>snmptranslate -On CISCO-VOICE-DIAL-CONTROL-MIB::cvCallActiveDS0s.0
.1.3.6.1.4.1.9.9.63.1.3.3.0

C:\usr\share\snmp\mibs>snmptranslate -On ISDN-MIB::isdnBearerOperStatus.32
.1.3.6.1.2.1.10.20.1.2.1.1.2.32

From ROUTER2 - HQ:
SNMPv2-MIB::sysDescr.0 = STRING: Cisco IOS Software,
3800 Software (C3825-ADVIPSERVICESK9-M),
Version 12.4(15)T8, RELEASE SOFTWARE (fc3)

CISCO-POP-MGMT-MIB::cpmActiveDS0s.0 = Gauge32: 14
CISCO-POP-MGMT-MIB::cpmDS1ActiveDS0s.0.0 = Gauge32: 14
CISCO-POP-MGMT-MIB::cpmISDNCfgBChannelsInUse.0 = Gauge32: 7
CISCO-VOICE-DIAL-CONTROL-MIB::cvCallActiveDS0s.0 = Gauge32: 7 interfaces
ISDN-MIB::isdnBearerOperStatus.32 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.33 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.34 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.35 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.36 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.37 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.38 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.39 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.40 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.41 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.42 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.43 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.44 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.45 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.46 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.47 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.48 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.49 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.50 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.51 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.52 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.53 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.54 = INTEGER: idle(1)

From ROUTER2 - DC:
SNMPv2-MIB::sysDescr.0 = STRING: Cisco IOS Software,
3800 Software (C3825-ADVIPSERVICESK9-M),
Version 12.4(18), RELEASE SOFTWARE (fc1)

CISCO-POP-MGMT-MIB::cpmActiveDS0s.0 = Gauge32: 0
CISCO-POP-MGMT-MIB::cpmDS1ActiveDS0s.0.0 = Gauge32: 0
CISCO-POP-MGMT-MIB::cpmISDNCfgBChannelsInUse.0 = Gauge32: 0
CISCO-VOICE-DIAL-CONTROL-MIB::cvCallActiveDS0s.0 = No Such Object available on this agent at this OID
ISDN-MIB::isdnBearerOperStatus.32 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.33 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.34 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.35 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.36 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.37 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.38 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.39 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.40 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.41 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.42 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.43 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.44 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.45 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.46 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.47 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.48 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.49 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.50 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.51 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.52 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.53 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.54 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.81 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.82 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.83 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.84 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.85 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.86 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.87 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.88 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.89 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.90 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.91 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.92 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.93 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.94 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.95 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.96 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.97 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.98 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.99 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.100 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.101 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.102 = INTEGER: idle(1)
ISDN-MIB::isdnBearerOperStatus.103 = INTEGER: idle(1)

Timestamp: 2010-12-27_13:56:35.02

My issue was not having the proper NIB installed for getif. Once I installed the proper NIB for what I was looking for.  All came to light.

Hi Fred,

Would it be possible for you to post a zip file containing your mib files to this thread.

I have spent several hours without success trying to get getif to compile mibs to allow me use

use cvCallActiveDS0s (1.3.6.1.4.1.9.9.63.1.3.3).

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: