4.65 ZFSPoolHealth

Use the Knowledge Script to monitor ZFS Pool Health. This Knowledge Script raises an event when pool status is not online or when scrub reports an error.

This Knowledge Script is supported on: [Solaris].

4.65.1 Resource Object

StoragePoolZFS icon

4.65.2 Default Schedule

The default interval for this script is Every 15 minutes

4.65.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

General Settings

Pool(s) to exclude (comma-separated)

Specify the pools to exclude from monitoring. The default is unspecified.

Event severity when job fails

Set the event severity level, from 1 to 40, to indicate the importance of an event when the job fails The default is 5.

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 if AppManager fails to get metrics?

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

Event severity

Set the event severity level, from 1 to 40, to indicate the importance of an event when the job fails The default is 5.

Consolidate for all pools?

Select Yes to consolidate all pools. The default is unselected.

Event Settings

Raise event if pool is unhealthy?

Select Yes to raise an event if a pool is unhealthy. If the Consolidate for all pools? parameter is selected, AppManager raises an event for the consolidated pools. A pool is considered as unhealthy if its status is not "ONLINE" or if it has error(s) reported by scrub. Scrub errors are considered for eventing if the scrub last runtime gets changed and the scrub error is greater than zero.The default is Yes.

Severity

Set the event severity level, from 1 to 40, to indicate the importance of an event when the pool is unhealthy. The default is 5.

Data Collection

Collect data for pool status?

Select Yes to collect chart and graph data for the pool status. The default is Yes.

Collect data for scrub errors?

Select Yes to collect chart and graph data for the scrub errors. The default is unselected.