6.10 BITSJobStats

Use this Knowledge Script to monitor the number of times the BITS job is interrupted by network failure or server unavailability. This script raises an event is raised if the total number of times the BITS job is interrupted exceeds the threshold.

6.10.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.10.2 Resource Object

BITS Jobs object

6.10.3 Default Schedule

The default interval for this script is Every 5 minutes.

6.10.4 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

Raise event if interruptions exceed threshold?

Set to y to raise an event when the number of times the BITS job is interrupted exceeds the threshold you set. The default is y.

Collect data for number of BITS job interruptions?

Set to y to collect data for charts and reports. If enabled, data collection returns the number of times the BITS job is interrupted. The default is n.

Event severity when interruptions exceed threshold

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

Threshold - Threshold - Maximum number of BITS job interruptions

Specify the maximum number of times the BITS job can be interrupted before an event is raised. The default is 10 times.