cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1760
Views
0
Helpful
4
Replies

Monitoring: H.323 Voice Gateway Number of calls per Interface

dmohr
Level 1
Level 1

Hi,

I'm rying to set up a Monitoring System that shows me the number of active calls per serial interface.

Currently I'm able to get the number of all active calls on the Voice Gateway (using the OID 1.3.6.1.4.1.9.10.19.1.1.4.0) but I would like to have the statistics more detailed.

My preferred method is to gather the data via SNMP.

I've searched through the MIB and the Community but couldn't find an answer to my question.

Does anyone of you know if it's possible to get this information and how?

Thanks, david.

1 Accepted Solution

Accepted Solutions

jbollen
Level 1
Level 1

Hi,


For your question I did a little test w.r.t the history of calls:

  The CISCO-CALL-HISTORY MIB and IF MIB can be used to get what you would like to do: you will need to build

  a shell, perl, python,... script to extract the correct values:

1.3.6.1.4.1.9.9.27.1.1.3.1.4 -> "ciscoCallHistoryCalledNumber"        "1.3.6.1.4.1.9.9.27.1.1.3.1.4"

/usr/bin/snmpwalk -v 1 -c -O n 1.3.6.1.4.1.9.9.27.1.1.3.1.4

.1.3.6.1.4.1.9.9.27.1.1.3.1.4.1069195477.158880 = STRING: "6900"

.1.3.6.1.4.1.9.9.27.1.1.3.1.4.1069199472.158881 = STRING: "6901"

.1.3.6.1.4.1.9.9.27.1.1.3.1.4.1069223577.158882 = STRING: "6223"

.1.3.6.1.4.1.9.9.27.1.1.3.1.4.1069241550.158883 = STRING: "6259"

.1.3.6.1.4.1.9.9.27.1.1.3.1.4.1069247704.158884 = STRING: "91763812"

then use e.g. 158880 as an index in the following list to find the interface number

"ciscoCallHistoryInterfaceNumber"        "1.3.6.1.4.1.9.9.27.1.1.3.1.5"

/usr/bin/snmpwalk -v 1 –c   -O n   1.3.6.1.4.1.9.9.27.1.1.3.1.5

.1.3.6.1.4.1.9.9.27.1.1.3.1.5.1069195477.158880 = INTEGER: 35

.1.3.6.1.4.1.9.9.27.1.1.3.1.5.1069199472.158881 = INTEGER: 35

.1.3.6.1.4.1.9.9.27.1.1.3.1.5.1069223577.158882 = INTEGER: 84

.1.3.6.1.4.1.9.9.27.1.1.3.1.5.1069241550.158883 = INTEGER: 35

.1.3.6.1.4.1.9.9.27.1.1.3.1.5.1069247704.158884 = INTEGER: 84

The interface number can be found polling

"ifName"        "1.3.6.1.2.1.31.1.1.1.1"

/usr/bin/snmpwalk -v 1 -c   -O n   1.3.6.1.2.1.31.1.1.1.1

[snip]

.1.3.6.1.2.1.31.1.1.1.1.35 = STRING: Se1/0:23

.1.3.6.1.2.1.31.1.1.1.1.84 = STRING: Se1/1:23

[snip]

giving you the possibility to find the interface used by the call.

I presume that you can do the same for active calls, but I couldn't test it.

Hope this helps,

Jan

View solution in original post

4 Replies 4

Hi.

IOS Version / Platform ?

Carlo

Please rate all helpful posts

"The more you help the more you learn"

Please rate all helpful posts "The more you help the more you learn"

show voice connection summary?

show voice call status

jbollen
Level 1
Level 1

Hi,


For your question I did a little test w.r.t the history of calls:

  The CISCO-CALL-HISTORY MIB and IF MIB can be used to get what you would like to do: you will need to build

  a shell, perl, python,... script to extract the correct values:

1.3.6.1.4.1.9.9.27.1.1.3.1.4 -> "ciscoCallHistoryCalledNumber"        "1.3.6.1.4.1.9.9.27.1.1.3.1.4"

/usr/bin/snmpwalk -v 1 -c -O n 1.3.6.1.4.1.9.9.27.1.1.3.1.4

.1.3.6.1.4.1.9.9.27.1.1.3.1.4.1069195477.158880 = STRING: "6900"

.1.3.6.1.4.1.9.9.27.1.1.3.1.4.1069199472.158881 = STRING: "6901"

.1.3.6.1.4.1.9.9.27.1.1.3.1.4.1069223577.158882 = STRING: "6223"

.1.3.6.1.4.1.9.9.27.1.1.3.1.4.1069241550.158883 = STRING: "6259"

.1.3.6.1.4.1.9.9.27.1.1.3.1.4.1069247704.158884 = STRING: "91763812"

then use e.g. 158880 as an index in the following list to find the interface number

"ciscoCallHistoryInterfaceNumber"        "1.3.6.1.4.1.9.9.27.1.1.3.1.5"

/usr/bin/snmpwalk -v 1 –c   -O n   1.3.6.1.4.1.9.9.27.1.1.3.1.5

.1.3.6.1.4.1.9.9.27.1.1.3.1.5.1069195477.158880 = INTEGER: 35

.1.3.6.1.4.1.9.9.27.1.1.3.1.5.1069199472.158881 = INTEGER: 35

.1.3.6.1.4.1.9.9.27.1.1.3.1.5.1069223577.158882 = INTEGER: 84

.1.3.6.1.4.1.9.9.27.1.1.3.1.5.1069241550.158883 = INTEGER: 35

.1.3.6.1.4.1.9.9.27.1.1.3.1.5.1069247704.158884 = INTEGER: 84

The interface number can be found polling

"ifName"        "1.3.6.1.2.1.31.1.1.1.1"

/usr/bin/snmpwalk -v 1 -c   -O n   1.3.6.1.2.1.31.1.1.1.1

[snip]

.1.3.6.1.2.1.31.1.1.1.1.35 = STRING: Se1/0:23

.1.3.6.1.2.1.31.1.1.1.1.84 = STRING: Se1/1:23

[snip]

giving you the possibility to find the interface used by the call.

I presume that you can do the same for active calls, but I couldn't test it.

Hope this helps,

Jan

Hi Jan,

that sounds very interesting. Thank you for your post.

I will do some testing and give you a feedback if this is what I'm looking for.

Best regards, david.

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: