Documentation
UnprotectedVolume-Check
Checks for volumes which are not protected by a SnapMirror relation.
Usage
$ check_netapp_pro.pl UnprotectedVolume -H <host> [ ... ] [--help]
Description
This plugin checks all volumes and sends an alarm if one or more do not have a SnapMirror relation.
Volumes which are offline, restricted or unknown, are 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>
. Specific vservers can be
included or excluded this way, since the vserver's name is prefixed to the
instance-name and can be matched using a pattern like --include=^vserv01:
.
In the same way specific volumes can be excluded, an example for all vol0's
--exclude=:vol0$
.
Simple Examples
Check all volumes on all vservers and alert if at least one without a SnapMirror destination is found.
Same as above but checks only one vfiler (vserv_a).
Same as above but excludes also every vol0).