4.29 ProcessUp

Use this Knowledge Script to check whether a specified process is running. This script raises an event if the specified process is running, and can automatically terminate the process if you choose. In addition, this script generates datastreams for process status.

4.29.1 Resource Objects

Windows 2000 Server or later

4.29.2 Default Schedule

The default schedule for this script is Every 5 minutes.

4.29.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

Event Notification

Create event if process is found running?

Select Yes to raise an event if one or more of the processes you specified in the Processes parameter are running. The default is Yes.

Severity - Process running

Set the event severity level, from 1 to 40, to indicate the importance of an event in which a specified process is running. The default is 10 (red event indicator).

Create event if process is not running?

Select Yes to raise an event if a process you specified in the Processes parameter is not running. The default is unselected.

Severity - Process not running

Set the event severity level, from 1 to 40, to indicate the importance of an event in which a specified process is not running. The default is 10 (red event indicator).

Create event if process is successfully terminated?

Select Yes to raise an event a process you specified in the Processes parameter is successfully terminated. The default is Yes.

NOTE:If you set this parameter to Yes, also set the Kill the running process? parameter to Yes.

Severity - Process successfully terminated

Set the event severity level, from 1 to 40, to indicate the importance of an event in which a process is successfully stopped. The default is 25 (blue event indicator).

Create event if process cannot be terminated?

Select Yes to raise an event if a process you specified in Processes cannot be terminated. The default is Yes.

NOTE:If you set this parameter to Yes, also set the Kill the running process? parameter to Yes.

Severity - Failed to kill process

Set the event severity level, from 1 to 40, to indicate the importance of an event in which a specified process cannot be terminated. The default is 10 (red event indicator).

Severity - Job failure

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

Data Collection

Collect data for process status?

Select Yes to collect data for charts and reports. When enabled, data collection returns:

  • n - the number of specified processes that are running, or

  • 0 - the process is not running.

The default is unselected.

Monitoring

Processes

Provide one or more process names, separated by commas (,) and no spaces.

Specify a process name without an extension and use the following format for multiple instances of a process:

iexplore (first instance),iexplore#1 (second instance),iexplore#2 (third instance)

Kill the running process?

Select Yes to automatically stop a specified process. If there are multiple instances of a specified process, all instances are stopped. The default is unselected.