4.33 OpenFiles

Use this Knowledge Script to monitor the number of files that are opened by a process in the system.

This Knowledge Script is supported on: [Linux].

4.33.1 Resource Objects

UNIX Machine folder

4.33.2 Default Schedule

The default interval for this script is Once Every Hour.

4.33.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

General Settings

Event severity when job fails

Set the event severity level, from 1 to 40, to reflect the importance of the event that is raised when the OpenFiles job fails. The default is 5.

List of processes (comma-separated)

Enter the list of comma-separated process names for which you want to monitor the number of files opened by the processes.

Event detail format

Select the format in which to view the event detail. The default is HTML Table.

Enable debugging?

Select Yes to enable debugging. The default is unselected.

Raise event when AppManager fails to get metrics?

Select Yes to raise an event if AppManager fails to retrieve the metrics. The default is Yes.

Event severity

Set the event severity level, from 1 to 40, to indicate the importance of an event in which AppManager fails to retrieve the metrics. The default is 5.

Event Settings

Raise event if open file count exceeds threshold?

Select Yes to raise an event if the open file count threshold is exceeded. The default is Yes.

Threshold --Open file count

Enter the open file count threshold with a maximum value of 99999. The default is 800.

Severity

Set the severity level, from 1 to 40, to indicate the importance of an event when the number of files opened by a process exceeds the threshold. The default is 15.

Data Collection

Collect data for open file count?

Select Yes to collect data for charts, graphs, and reports for the open file count data. When selected, this script returns the average number of files opened by processes that matched the specified process name. The default is unselected.

NOTE:

  • The average number of open file counts of a specified process in a data point is 0 (zero) until an event is raised.

  • When an event is raised the data point at that moment contains the average of open file count of the specified processes and details of all the processes that have exceeded the threshold.