Checks if enough spare disks are available for each node in the cluster.
The current version of check_netapp_spare
does not return useful information, for partitioned disks.
$ check_netapp_spare -H <host> [...] [--help]
This plugin counts the available spare-disks for each node and model of disk (type, class, usable-size, rotation-speed) and compares this number with the given thresholds.
--include
/ --exclude
: Include or exclude disks based on their name. The node-name is pre-fixed to the disk-name so that you can filter also based 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.