4.66 ZFSPoolSnapshot

Use the Knowledge Script to monitor the total usage of snapshots in the pool. This Knowledge Script raises an event if the total usage of snapshots in a pool crosses the threshold you specify.

The topmost snapshots, based on the usage, are reported in the event message.

This Knowledge Script is supported on: [Solaris]

4.66.1 Resource Object

Snapshot icon

4.66.2 Default Schedule

The default interval for this script is Every hour.

4.66.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

General Settings

Pools to be 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.

Event Settings

Raise event if the snapshot usage of the pool exceeds threshold?

Select Yes to raise an event if the snapshots usage of the pool crosses the specified threshold. The default is Yes.

Number of top space consuming snapshots to display

Specify the number of top space consuming snapshots to display. The default is 10.

Threshold -- snapshot usage of pool

Set the threshold percentage for the snapshot usage of the pool. The default is 65%.

Severity

Set the event severity level, from 1 to 40, to reflect the importance of the event that is raised when the threshold for the snapshot usage of pool is exceeded.

Raise event if the number of snapshots cross the threshold?

Select Yes to raise an event if the number of snapshots cross the specified threshold. The default is Yes.

Consolidate snapshot count event for all pools?

Select Yes to consolidate the snapshot count event for all pools. The default is unselected.

Threshold -- snapshot count in pool

Set the threshold for the snapshot count of in the pool.The default is 100.

Severity

Set the event severity level, from 1 to 40, to indicate the importance of an event when the snapshot count exceeds the specified number. The default is 10.

Raise event if the snapshots are older than the number of days specified?

Select Yes to raise an event if the snapshots are older than the number of days specified. The default is Yes.

Number of days

Specify the number of days, from 0 to 365, to list snapshots that are older than specified. The default is 90 days.

Severity

Set the event severity level, from 0 to 40, to indicate the importance of an event if the snapshots are older than the specified number of days. The default is 10.

Data Collection

Collect data for space consumed by snapshots of a pool?

Select Yes to collect to collect data for charts and reports. If enabled, this script returns the space consumed by snapshots of a pool. The default is unselected.

Collect data for number of snapshots created in a pool?

Select Yes to collect data for charts and reports. If enabled, this script returns the number of snapshots created in the pool. The default is unselected.