6.6 BITSJobProgress

Use this Knowledge Script to monitor the progress of Background Intelligent Transfer Service (BITS) jobs by measuring the total bytes transferred and the total files transferred. This script raises an event if the total number of bytes or files transferred exceeds the thresholds you set.

6.6.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.6.2 Resource Objects

BITS Jobs object

6.6.3 Default Schedule

The default interval for this script is Every 5 minutes.

6.6.4 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

Raise event if threshold is exceeded?

Set to y to raise an event if the total bytes transferred or the total files transferred exceed the threshold you set. The default is y.

Collect data for total bytes and files transferred by BITS jobs?

Set to y to collect data for charts and reports. If enabled, data collection returns total bytes transferred and total files transferred for a BITS job. The default is n.

Threshold - Maximum number of bytes transferred by BITS jobs

Specify the maximum number of bytes that can be transferred before an event is raised. The default is 200 bytes.

Threshold - Maximum number of files transferred by BITS jobs

Specify the maximum number of files that can be transferred before an event is raised. The default is 200 files.

Event severity when threshold exceeded

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