4.24 GeneralCounter

Use this Knowledge Script to monitor a user-specified Performance Monitor counter on a Communications Manager server. You can monitor both the current value of the counter as well as the delta value (current value minus the previous value). This script raises an event if the value of the monitored counter exceeds the threshold and if the counter you want to monitor is not accessible.

This script generates data streams for current and delta counter values.

4.24.1 Resource Object

CiscoCM_CMServer

4.24.2 Default Schedule

By default, this script runs every five minutes.

4.24.3 Setting Parameter Values

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 GeneralCounter job. The default is 5.

Counter Specifications

Name of the object to monitor

Type the name of the performance object you want to monitor. An object is any resource, program or service for which performance data can be collected. The default object name is System.

Name of the counter to monitor

Type the name of the performance counter you want to monitor. A counter represents the data associated with aspects of an object. The default counter name is Total Threads.

Name of the instance to monitor

Type the name of the performance instance you want to monitor. An instance distinguishes between multiple objects of the same type on a single computer. You can type multiple instance names, separated by commas.

Not all counters or objects require or have an instance.

Raise event if counter/instance not found?

Select Yes to raise an event if this script cannot find the counter or instance you specify. The default is Yes.

Event severity when counter/instance not found

Set the event severity level, from 1 to 40, to indicate the importance of an event in which this script cannot find the counter or instance you specify. The default is 25.

Monitor Current Value

Event Notification

Raise event if current value exceeds threshold

Select Yes to raise an event if the current value of the counter exceeds the threshold you set. The default is Yes.

Threshold - Maximum current value

Specify the maximum current value the counter can attain before an event is raised. The default is 500.

Event severity when current value exceeds threshold

Set the event severity, from 1 to 40, to indicate the importance of an event in which the current value of the counter exceeds the threshold you set. The default is 10.

Data Collection

Collect data for current value?

Select Yes to collect data for charts and reports. If enabled, data collection returns the current value of the counter at each script iteration.The default is unselected.

Monitor Delta Value

Event Notification

Raise event if delta value exceeds threshold

Select Yes to raise an event if the delta value of the counter exceeds the threshold you set. The default is Yes.

The delta value is the difference between the current value and the previous value.

Threshold - Maximum delta value

Specify the maximum delta value the counter can attain before an event is raised. The default is 100.

Event severity when delta value exceeds threshold

Set the event severity, from 1 to 40, to indicate the importance of an event in which the delta value of the counter exceeds the threshold you set. The default is 10.

Data Collection

Collect data for delta value?

Select Yes to collect data for charts and reports. If enabled, data collection returns the delta value of the counter as measured during the monitoring period. The default is unselected.