6.8 BITSJobsError

Use this Knowledge Script to monitor the total number of BITS jobs that are in an error state. This script raises an event if the number of BITS jobs with the status of error exceeds the threshold.

6.8.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.8.2 Resource Object

BITS folder

6.8.3 Default Schedule

The default interval for this script is Every 5 minutes.

6.8.4 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

Raise event if number of BITS jobs in error state exceeds threshold?

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

Collect data for BITS jobs in error state?

Set to y to collect data for charts and reports. If enabled, data collection returns the number of BITS jobs that have the status of error. The default is n.

Event severity when BITS jobs in error state exceed threshold

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

Threshold - Threshold - Maximum number of BITS jobs in error state

Specify the maximum number of BITS jobs that can have a status of error before an event is raised. The default is 10.