Documentation
SnapshotLessVolume-Check
Checks for volumes without snapshots.
Usage
$ check_netapp_pro.pl SnapshotLessVolume -H <host> [ ... ] [--help]
Description
This plugin checks all volumes and sends an alarm if one or more without snapshots are found. The indiactor for "no snapshots" is that the value of size-used-by-snapshots equals to zero.
Volumes which are offline, restricted of unknown are silently skipped. You can set
--verbose
to see which volumes are skipped.
To explicitly exclude one or several volumes you can use the arguments --exclude=<regex>
and/or --include=<regex>
.
Also --vserver|--node|-s
can be used to exclusively check a specific vserver.
This check is only supported for cluster-mode. (The 7-mode API does not deliver the required attributes.)
Simple Examples
Check all volumes on all vservers and alert if at least one without snapshots is found.
Same as above but checks only one vfiler.
Checks only the volume vol0 (on every vfiler).