6.7 BITSJobsActive

Use this Knowledge Script to monitor the number of active BITS jobs. This script raises an event when the total number of active jobs exceeds the threshold.

6.7.1 Prerequisites

For Windows Sever 2008 and Windows 2008 R2 or later, you can run this script on both 32-bit and 64-bit platforms. For older versions of Windows, you can only run this script on 32-bit platforms.

This script requires version 2.0 or later of Windows .NET Framework on the computer you want to monitor.

6.7.2 Resource Object

BITS folder

6.7.3 Default Schedule

The default interval for this script is Every 5 minutes.

6.7.4 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

Raise event if number of active BITS jobs exceeds threshold?

Set to y to raise an event when the total number of active BITS jobs exceeds the threshold you set. The default is y.

Collect data for number of active BITS jobs?

Set to y to collect data for charts and reports. If enabled, data collection returns the number of jobs submitted and the number of incomplete jobs during the interval you specify. The default is n.

Event severity when number of active BITS jobs exceeds threshold

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the number of active BITS jobs exceeds the threshold. The default is 8 (red event indicator).

Threshold - Maximum number of active BITS jobs

Specify the maximum number of BITS jobs that can be active before an event is raised. The default is 200 jobs.