4.62 SystemUpTime

Use this Knowledge Script to monitor the system up time for a Windows server or workstation. This script tracks the number of hours that the computer has been operational since it was last rebooted. This script raises an event if the computer was rebooted within the monitoring interval.

To monitor whether a computer has gone down for reasons other than being placed in maintenance mode, use the General_MachineDown Knowledge Script.

4.62.1 Resource Objects

Windows 2003 Server or later

4.62.2 Default Schedule

The default schedule for this script is Every 5 minutes.

4.62.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

Raise event when reboot has occurred since last job iteration (y/n)?

Set to y to raise an event if the computer was rebooted within the monitoring interval. The default is y.

Collect data?

Set to y to collect data for charts and reports. If enabled, data collection returns the number of hours the system has been up. The default is n.

Event severity level for system reboot

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the computer was rebooted. The default is 8 (red event indicator).

Event severity level for an unexpected Knowledge Script error

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the SystemUpTime job fails unexpectedly. The default is 35 (magenta event indicator).