Checks for sufficient spare-disks for each node in the cluster.
$ check_netapp_spare -H <host> [...] [--help]
This plugin checks each net-port’s link-state. Alarms if link-state is not up (default).
--include
/ --exclude
: Include or exclude disks based on their name. The node-name is prefixed to the disk-name so that you can also filter on the node-name.
--warning
/ --critical
: Thresholds for the number of required spare-disks per node, type and size. Defaults to 2 for warning and 1 for critical. (Warns if the number falls below 2 and sends a critical alarm it that number falls below 1.)
Note: Non-zeroed spare-disks are not considered as valid spares.
For all other parameters consult --help
on the commandline.
sim96cluster::storage aggregate> show-spare-disks
Original Owner: sim96cluster-01
Pool0
Spare Pool
Usable Physical
Disk Type Class RPM Checksum Size Size Status
---------------- ------ ----------- ------ -------------- -------- -------- --------
NET-1.4 FCAL performance 15000 block 1020MB 1.00GB not zeroed
NET-1.5 FCAL performance 15000 block 1020MB 1.00GB not zeroed
NET-1.6 FCAL performance 15000 block 1020MB 1.00GB not zeroed
NET-1.18 FCAL performance 15000 block 1020MB 1.00GB not zeroed
NET-1.19 FCAL performance 15000 block 1020MB 1.00GB not zeroed
NET-1.27 FCAL performance 15000 block 1020MB 1.00GB zeroed
NET-1.28 FCAL performance 15000 block 1020MB 1.00GB zeroed
7 entries were displayed.
./check_netapp_spare -H sim96
NETAPP_PRO SPARE OK - 28 disks checked
...
Checks all nodes for sufficient spare-disks.