Documentation
VolumeAutosize-Check
Checks if an autosize volumes size grows near to its maximum.
Usage
$ check_netapp_pro.pl VolumeAutosize -H <host> [-I <name> | -X <name>] [--help] [...]
Description
Checks each volumes total-size and compares it to the autosize-maximum set for that volume in DataONTAP.
The thresholds can be set in absolute bytes or as a percentage of the
autosize-maximum using a threshold formula like --warning==MAX/100*20
which
would result in a warning, if the difference between the maximum-size for
autosize and the total-size of the volume falls below 20% of the maxmimum-size.
These calculated thresholds are most usefull if you are checking several or all
volumes at once (overall-check) which have different maximums, so that a
single, fixed threshold would not be applicable to all of them
Remember that you can use --include
and --exclude
switches to define
precisely which volumes should get checked.
In any case volumes which are not autosized are silently skipped by this check. So the default to check all volumes means in fact that all autosized volumes are checked.
Related DataONTAP Commands::
> autosize vol3 -is-enabled on # DataONTAP <= 8.1.x
cluster1::volume> autosize vol3 -mode grow_shrink # DataONTAP > 8.2.x
Simple Examples
Check all autosize-volumes using the default thresholds.
Check all autosize-volumes. Warn if there is less than 500 MiB difference between the actual volume-size and the the autogrow-limit .
Same as above, but the limits and output is in GiB instead of the default of MiB.
Advanced Examples
Hint: The input for advanced examples is shortend. Replace the '...' below with ‑H <your filers ip or host-name>
Warns if the difference between the total size of the volume and the maximum for autosize falls below 25% of the autosize-volume. Critical if it falls below 10%.
Same as above, but with long-options. You see the doubled equal-sign in case of long options and the space between the option and the equal-sign at the short options?!