Use this Knowledge Script to monitor active and in-service MGCP gateway resource usage for a Communications Manager:
BRI (basic rate interface) channels and spans
FXO (foreign exchange office) ports
FXS (foreign exchange station) ports
PRI (primary rate interface) channels and spans
T1CAS (channel associated signaling) channels and spans
An active resource is currently handling a call. An in-service resource is available to handle a call.
This script raises an event if any threshold is exceeded. In addition, this script generates data streams for active and in-service ports/channels/spans for any monitored resources.
This script is a member of the CiscoCM recommended Knowledge Script Group. For more information, see Section 4.57, Recommended Knowledge Script Group.
CiscoCM_CallProcessor
By default, this script runs every ten minutes.
If you are running this script as part of the Recommended KSG, do not change the schedule. The schedules for the recommended scripts are staggered so as to lessen the impact on CPU utilization when you run the KSG.
Set the following parameters as needed:
Parameter |
How to Set It |
---|---|
General Settings |
|
Job Failure Notification |
|
Event severity when job fails |
Set the event severity level, from 1 to 40, to indicate the importance of the failure of the CCM_MGCPResources job. The default is 5. |
Monitor Active BRI Channels |
|
Event Notification |
|
Raise event if active BRI channels exceed threshold? |
Select Yes to raise an event if the number of active BRI channels exceeds the threshold you set. The default is Yes. |
Threshold - Maximum active BRI channels |
Specify the maximum number of BRI channels that must be active before an event is raised. The default is 100 channels. |
Event severity when active BRI channels exceed threshold |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the number of active BRI channels exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for active BRI channels? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the number of BRI channels that are active at each script iteration. The default is unselected. |
Monitor BRI Spans in Service |
|
Data Collection |
|
Collect data for BRI spans in service? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the number of BRI spans that are in service at each script iteration. The default is Yes. |
Monitor Active FXO Ports |
|
Event Notification |
|
Raise event if active FXO ports exceed threshold? |
Select Yes to raise an event if the number of active FXO ports exceeds the threshold you set. The default is Yes. |
Threshold - Maximum active FXO ports |
Specify the maximum number of FXO ports that must be active before an event is raised. The default is 25 ports. |
Event severity when active FXO ports exceed threshold |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the number of active FXO ports exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for active FXO ports? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the number of FXO ports that are active at each script iteration. The default is unselected. |
Monitor FXO Ports in Service |
|
Data Collection |
|
Collect data for FXO ports in service? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the number of FXO ports that are in service at each script iteration. The default is Yes. |
Monitor Active FXS Ports |
|
Event Notification |
|
Raise event if active FXS ports exceed threshold? |
Select Yes to raise an event if the number of active FXS ports exceeds the threshold you set. The default is Yes. |
Threshold - Maximum active FXS ports |
Specify the maximum number of FXS ports that must be active before an event is raised. The default is 25 ports. |
Event severity when active FXS ports exceed threshold |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the number of active FXS ports exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for active FXS ports? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the number of FXS ports that are active at each script iteration. The default is unselected. |
Monitor FXS Ports in Service |
|
Data Collection |
|
Collect data for FXS ports in service? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the number of FXS ports that are in service at each script iteration. The default is Yes. |
Monitor Active PRI Channels |
|
Event Notification |
|
Raise event if active PRI channels exceed threshold? |
Select Yes to raise an event if the number of active PRI channels exceeds the threshold you set. The default is Yes. |
Threshold - Maximum active PRI channels |
Specify the maximum number of PRI channels that must be active before an event is raised. The default is 100 channels. |
Event severity when active PRI channels exceed threshold |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the number of active PRI channels exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for active PRI channels? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the number of PRI channels that are active at each script iteration. The default is unselected. |
Monitor PRI Spans in Service |
|
Data Collection |
|
Collect data for PRI spans in service? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the number of PRI spans that are in service at each script iteration. The default is Yes. |
Monitor Active T1CAS Channels |
|
Event Notification |
|
Raise event if active T1CAS channels exceed threshold? |
Select Yes to raise an event if the number of active T1CAS channels exceeds the threshold you set. The default is Yes. |
Threshold - Maximum active T1CAS channels |
Specify the maximum number of T1CAS channels that must be active before an event is raised. The default is 100 channels. |
Event severity when active T1CAS channels exceed threshold |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the number of active T1CAS channels exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for active T1CAS channels? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the number of T1CAS channels that are active at each script iteration. The default is unselected. |
Monitor T1CAS Spans in Service |
|
Data Collection |
|
Collect data for T1CAS spans in service? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the number of T1CAS spans that are in service at each script iteration. The default is Yes. |