Use this Knowledge Script to monitor the resource usage for a registered Music-on-Hold (MOH) device. This script raises an event if a threshold is exceeded. In addition, this script generates data streams for multicast resource usage (%), active multicast resources, unicast resource usage (%), active unicast resources, and resource availability.
CiscoCM_MOH_DeviceObj
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 when job fails |
Set the event severity level, from 1 to 40, to indicate the importance of the failure of the MOH_Device job. The default is 5. |
Monitor Multicast Resource Usage |
|
Event Notification |
|
Raise event if multicast resource usage exceeds threshold? |
Select Yes to raise an event if the percentage of multicast resource usage exceeds the threshold. The default is Yes. |
Threshold - Maximum multicast resource usage |
Specify the maximum percentage of multicast resource usage that must be detected before an event is raised. The default is 80%. |
Event severity when multicast resource usage exceeds threshold |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the percentage of multicast resource usage exceeds the threshold you set. The default is 15. |
Data Collection |
|
Collect data for multicast resource usage? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the percentage of multicast resource at each script iteration. The default is unselected. |
Monitor Active Multicast Resources |
|
Data Collection |
|
Collect data for active multicast resources? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the number of multicast resources active at each script iteration. The default is unselected. |
Monitor Unicast Resource Usage |
|
Event Notification |
|
Raise event if unicast resource usage exceeds threshold? |
Select Yes to raise an event if the percentage of unicast resource usage exceeds the threshold. The default is Yes. |
Threshold - Maximum unicast resource usage |
Specify the maximum percentage of unicast resource usage that must be detected before an event is raised. The default is 80%. |
Event severity when unicast resource usage exceeds threshold |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the percentage of unicast resource usage exceeds the threshold you set. The default is 15. |
Data Collection |
|
Collect data for unicast resource usage? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the percentage of unicast resource usage at each script iteration. The default is unselected. |
Monitor Active Unicast Resources |
|
Data Collection |
|
Collect data for active unicast resources? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the number of unicast resources active at each script iteration. The default is unselected. |
Monitor Unavailable Resources |
|
Event Notification |
|
Raise event if number of times resources were unavailable exceeds threshold? |
Select Yes to raise an event if the number of times MOH resources were unavailable exceeds the threshold. The default is Yes. |
Threshold - Maximum number of times resources were unavailable |
Specify the maximum number of times MOH resources can be unavailable before an event is raised. The default is 0 instances. |
Event severity when number of times resources were unavailable exceeds threshold |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the number of unavailability instances exceeds the threshold you set. The default is 15. |
Data Collection |
|
Collect data for number of times resources were unavailable? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the number of times MOH resources were unavailable during the monitoring period. The default is unselected. |