cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3594
Views
4
Helpful
10
Replies

PRI voice utilization

m-ketchum
Level 1
Level 1

Is there a way to set a trap or to log to a syslog when my PRI is at its max or near its max with regards to channels in use?

we suspect that the PRI is getting full, but we're not sure how to log when it happens.

Any tips?

10 Replies 10

MikeTomasko
Level 4
Level 4

Are they setup as MGCP or H.323? You could use CDR/CAR reports and run a Gateway Utilization Report and see when/if the PRI is being maxed out.

How comes when I run a Gateway Utilization report, I only got "Gateways with zero ports"?

no data on it? do I need to do anything else?

kelvin.blair
Level 5
Level 5

You can use CDR tool for this, but the draw back is that its not real time. The other tool is to use the Real Time Monitoring Tool. This will give you an idea of the port utilization real time.

I suppose I could, but like you said, it wouldn't be monitoring the real time status of the PRI.

I've decided to implement the following SNMP trap as a start:

snmp-server enable traps isdn chan-not-avail

Hopefully that should send a trap if the PRI runs out of channels.

Thanks for the input.

That will only send a trap if someone places an outbound call. At that point, you'll get no channels available message and busy. It doesn't work for inbound.

Strange, the documentation specified inbound calls.

I may be wrong. The D-Channel is used for Signaling and Control of the B-Channels. If it sees that all b-channel ports are unavailable, then it is the one that reports the error. So if that is the case, then yes the trap message should work on both inbound and outbound.

I Use RTMT for that. Open RTMT->Performance->YOur CCM-> Cisco H323 (or MGCP, depends on what you are using)-> Double Click Call Active-> select Gateways you have-> you will now have a graph showing the number of all B Channels used, right click on it select-> Alert / Treshold-> Enable Alert (Severity: Warning-> Click Next: on "trigger alert when the following condition meet" select a Value ie Over 25 (which means when 25 B channels=Calls are simultanueously used you will get an email alert of it). Do this for all Gateways and all Callmanager processing Calls.

weavermj1982
Level 1
Level 1

We have a cisco 3725 gateway adn we have just started to monitor our PRI utilisation with SNMP.

This OID will return the number of B channels in use for each serial interface in the gateway:

.1.3.6.1.4.1.9.10.19.1.1.9.1.3.1

To get the stats for individual interfaces, add a .0, .1 etc for each interface as follows:

.1.3.6.1.4.1.9.10.19.1.1.9.1.3.1.0 = stats for first serial interface

.1.3.6.1.4.1.9.10.19.1.1.9.1.3.1.1 = stats for second serial interface

You can log these values to a text file in CSV format or graph them with something like Cricket.

In our example this gives us the utilisation of our PRI to the PSTN and a PRI that we have to our PBX

You could also use a script like this to get the values:

#!/bin/bash

#Declare a date variable of the format YYYYMMDD

date=`date +"%Y-%m-%d"`

time=`date +"%T"`

pstn=`snmpwalk -c -v2c .1.3.6.1.4.1.9.10.19.1.1.9.1.3.1.0 | awk '{print $4}'`

pbx=`snmpwalk -c -v2c .1.3.6.1.4.1.9.10.19.1.1.9.1.3.1.1 | awk '{print $4}'`

if [ "$pstn" == "" ]

then

pstn='0'

fi

if [ "$pbx" == "" ]

then

pbx='0'

fi

echo $date $time,$pstn,$pbx >> stats.txt

Cron this script every minute.

Great info, thanks!

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: