6.33 SRLifeInterval

Use this Knowledge Script to monitor the number of days the System Restore service preserves System Restore points.

A restore point is a snapshot of the system provided by the System Restore service. For example, when you install an application on your computer, a restore point is created and stored in the database. If you later want to return to the registry as it was configured before you installed the new application, select the restore point in the System Restore utility that represents your system configuration prior to installation. Your system is restored to its state before the new application was installed.

This script raises an event if the number of days that restore points have been preserved exceeds the threshold.

6.33.1 Resource Object

System Restore folder

6.33.2 Default Schedule

The default interval for this script is Every 24 hours.

6.33.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

Raise event if restore point lifetime exceeds threshold?

Set to y to raise an event when the number of days a restore point has been preserved exceeds the threshold you set. The default is y.

Collect data for length of restore point lifetime?

Set to y to collect data for charts and reports. If enabled, data collection returns the number of days a restore point has been preserved. The default is n.

Maximum number of restore points to include in event

Specify the number of restore points to display in the event detail message. A full list of restore points can be viewed at $(INSTALLPATH)\LifeSrPtsLog. Restore points are displayed in order of creation date, the most recent first. The default is 20 restore points.

Set to 0 to display all restore points in the event detail message.

Threshold - Maximum restore point lifetime

Specify the maximum number of days restore points can be preserved before an event is raised. The default is 4 days.

Event severity when restore point lifetime exceeds threshold

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the number of days restore points are preserved exceeds the threshold. The default is 8 (red event indicator).