NetApp Monitoring

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

[S1] ./check_netapp_pro.pl VolumeAutosize -H filer

Check all autosize-volumes using the default thresholds.

NETAPP_PRO VOLUMEAUTOSIZE OK - 1 volume checked.
node01 vol1: 25.0MiB
| node01_vol1=26214400B;25165824;12582912;0;99614720
[S2] ./check_netapp_pro.pl VolumeAutosize -H filer -w 500 -c 200

Check all autosize-volumes. Warn if there is less than 500 MiB difference between the actual volume-size and the the autogrow-limit .

[S3] ./check_netapp_pro.pl VolumeAutosize -H filer -w 2 -c 1 --factor=Gi

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>

[A1] ./check_netapp_pro.pl VolumeAutosize ... -w =MAX/100*25 -c =MAX/100*10

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%.

[A2] ./check_netapp_pro.pl VolumeAutosize ... --warning==MAX/100*25 --critical==MAX/100*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?!

© Copyright 2009-2023 Ingo Lantschner • Phone: +43-664-143 84 18 • contact@netapp-monitoring.info • en/help/VolumeAutosize.html • last update: 2023-03-07