Use this Knowledge Script to monitor attempted, completed, in-progress, and active calls for SIP trunks. This script raises an event if any threshold is exceeded. In addition, this script generates data streams for the following metrics:
Attempted calls per trunk
Completed calls per trunk
In-progress calls per trunk
Active calls per trunk
SIPTrunk object
By default, this script runs every 15 minutes.
Set the following parameters as needed:
Parameter |
How to Set It |
---|---|
General Settings |
|
Job Failure Notification |
|
Event severity if job fails |
Set the event severity level, from 1 to 40, to indicate the importance of the failure of the SIP_Trunk_CallActivity job. The default is 5. |
Monitor Attempted Calls |
|
Event Notification |
|
Raise event if attempted calls exceed threshold |
Select Yes to raise an event if the number of attempted calls exceeds the threshold that you set. The default is Yes. |
Threshold - Maximum attempted calls |
Specify the highest number of calls that must be attempted before an event is raised. The default is 500. |
Event severity when attempted calls exceed threshold |
Set the event severity, from 1 to 40, to indicate the importance of an event in which the number of attempted calls exceeds the threshold you set. The default is 15. |
Data Collection |
|
Collect data for attempted calls? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the number of calls that were attempted during the monitoring period. The default is unselected. |
Monitor Completed Calls |
|
Data Collection |
|
Collect data for completed calls? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the number of calls that were completed during the monitoring period. The default is unselected. |
Monitor Active Calls |
|
Data Collection |
|
Collect data for active calls? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the number of calls that are active at each script iteration. The default is unselected. |
Monitor Calls In Progress |
|
Event Notification |
|
Raise event if calls in progress exceed threshold |
Select Yes to raise an event if the number of calls in progress exceeds the threshold that you set. The default is Yes. |
Threshold - Maximum calls in progress |
Specify the highest number of calls that must be in progress before an event is raised. The default is 1000. |
Event severity when calls in progress exceed threshold |
Set the event severity, from 1 to 40, to indicate the importance of an event in which the number of calls in progress exceeds the threshold you set. The default is 15. |
Data Collection |
|
Collect data for calls in progress? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the number of calls that are in progress at each script iteration. The default is unselected. |