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.
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.
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.
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.
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:
To get the stats for individual interfaces, add a .0, .1 etc for each interface as follows:
.18.104.22.168.22.214.171.124.126.96.36.199.188.8.131.52 = stats for first serial interface
.184.108.40.206.220.127.116.11.18.104.22.168.22.214.171.124 = 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:
#Declare a date variable of the format YYYYMMDD
if [ "$pstn" == "" ]
if [ "$pbx" == "" ]
echo $date $time,$pstn,$pbx >> stats.txt
Cron this script every minute.