04-16-2007 02:36 PM - edited 03-14-2019 09:00 PM
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?
04-16-2007 04:29 PM
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.
05-21-2007 10:58 PM
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?
04-16-2007 05:28 PM
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.
04-16-2007 06:03 PM
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.
04-16-2007 06:08 PM
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.
04-16-2007 06:14 PM
Strange, the documentation specified inbound calls.
04-16-2007 06:35 PM
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.
05-22-2007 01:31 AM
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.
07-20-2007 07:50 AM
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
pbx=`snmpwalk -c
if [ "$pstn" == "" ]
then
pstn='0'
fi
if [ "$pbx" == "" ]
then
pbx='0'
fi
echo $date $time,$pstn,$pbx >> stats.txt
Cron this script every minute.
07-20-2007 09:36 AM
Great info, thanks!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide