Documentation
AutosizeMode-Check
Checks if all autosize-volumes have a given autosize-mode.
Usage
$ check_netapp_pro.pl AutosizeMode -H <host> ---ok_mode=grow_shrink|grow [--help] [...]
Description
Checks each volumes autosize-mode value and compares it to a supplied mode (--ok_mode parameter).
Exits OK if all volumes match the set-value. Exits CRITICAL if at least one of the
volumes autosize-mode differs from what has been set with --ok_mode
.
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 if their mode is grow_shrink.
Check all autosize-volumes if their mode is shrink.