Check whether the total size of the volume is close to its autosize-maximum.
$ check_netapp_volume autosize -H <host> [ -w 85% -c 90% ] [...] [--help]
The plugin retrieves the volumes total-size and compares ist with the value of the autosize-maximum of this volume. Threshold values are possible. The autosize-maximum is assumed to be 100%. If the total-size exceeds the threshold value, an alarm is triggered.
Volumes with autosize.mode = "off"
are silently ignored.
--warning
/ --critical
: Thresholds for total-size in percent (Bytes are possible as well but probably useless here.). The volumes autosize-maximum is considered to be 100%.
--include
/ --exclude
: Include or exclude volumes based on their name. The SVM-name is pre-fixed to the volume-name so that you can filter also based on the SVM-name.
For all other parameters consult --help
on the commandline.
Check all volumes for their autosize-usage:
$ check_netapp_volume autosize -H filer -w 80% -c 90%
NETAPP VOLUME WARNING - 2 volumes checked, 2 WARNING
vmnfs4.vmnfs4: 83.3%, 10.53TiB of autosize used (WARNING)
vmnfs3.vmnfs3: 83.3%, 10.53TiB of autosize used (WARNING)
| 'vmnfs4.vmnfs4_rel'=83.333%;80;90;0; 'vmnfs4.vmnfs4_abs'=11573806608384;11110854341427;12499711134105;0; 'vmnfs3.vmnfs3_rel'=83.333%;80;90;0; 'vmnfs3.vmnfs3_abs'=11573806608384;11110854341427;12499711134105;0;