Documentation
AggregateState-Check
Checks the aggregates state.
Usage
$ check_netapp_pro.pl AggregateState -H <host> [-I <name> | -X <name>] [--help] [...]
Description
This plugin checks an aggregates state of one or many/all aggregates. What is considered to be ok is set by a switch.
Cluster Mode Aggregate State Possible values:
"creating" ,
"destroying" ,
"failed" ,
"frozen" ,
"inconsistent" ,
"iron_restricted" ,
"mounting" ,
"online" ,
"offline" ,
"partial" ,
"quiesced" ,
"quiescing" ,
"restricted" ,
"reverted" ,
"unknown" ,
"unmounted" ,
"unmounting" ,
"relocating"
Seven Mode Aggregate State Possible values:
normal, verifying, SnapMirrored, copying, ironing, mirrored, resyncing, mirror degraded, invalid, needs check, initializing, growing, partial, noparity, degraded, reconstruct, out-of-date, foreign, raid4, raid0, raid_dp, mixed_raid_type. These values may appear by themselves or in combination separated by commas (e.g., "reconstruct,growing"). An aggregate could be of only one of the following RAID types:
"raid0" - All the raid groups in the aggregate are of type raid0, "raid4" - All the raid groups in the aggregate are of type raid4, "raid_dp" - All the raid groups in the aggregate are of type raid_dp, "mixed_raid_type" - This aggregate contains RAID groups of different RAID types (raid0, raid4, raid_dp).
Consider using -v
for inspection, if you are not satisfied with the result.
Simple Examples
Check the state of all aggregates using the default for OK (online).
Check the state of all aggregates. Alarm if the state is neither online nor initializing.
Check all aggr0.
Check the state of all aggregates except those matching aggr0.