Documentation
ReportIOPS-Check
Reports iops for all volumes for a given tenant.
Usage
$ check_netapp_pro.pl ReportIOPS -H <host> [--svm=<svm> | --vol=<regex>] [-w <n> -c <n>] [--help] [...]
Description
This plugin summarizes the total_ops values of all volumes which are assigned to a given tenant.
How to assign a volume to a tenant?
Method 1: Assign a whole storage virtual machine (SVM) with
--svm=<svm-name>
. All volumes owned by that SVM will be considered by the report.Method 2: Name volumes so that they can be selected by one or more regular expressions. Typically the volume-name should contain the tenants short-name. Given such a naming-convention the tenants volumes can be selected with the argument
--vol=<regex>
. This argument can be repeated. This allows also to explicitly select the volumes name by name (e.g.--vol=^vol1$ --vol=^vol25$
).
Independent from these assignments volumes can be excluded using
--exclude=<regex>
(--include
is not supported by this check since it would
be redundant with --vol
).
EXAMPLES
# Select all volumes owned by the comp-a SVM
--svm=comp-a
# Select all volumes owned by the comp-a SVM, but exclude vol0
--svm=comp-a --exclude=^vol0$
# Select all volumes whose name **ends** with '_comp-b'
--vol=_comp-b$
# Select all volumes whose name **starts** with 'comp-b'
--vol=^comp-b
Performance-data will be printed for each of the checked volumes plus the sum of all volumes.
Consider using -v
for inspection, if you are not satisfied with the result.
Dependencies
This check reads its data from a local store. The performance
collector-scripts (get_netapp_perfdata.pl
) building this store must have been
run already for the volume object - otherwise this check will not find any
data. See the documentation and cfg-example-files which came with this script.
Simple Examples
Checks all volumes on the comp-a SVM. Sends a warning if the sum of all volumes total_ops is above 1500 or a critical alarm if over 3000 operations/s.
Checks all volumes whose name starts with 'comp-a_vol' regardless of the owning SVM.
Checks all volumes listed in comp-a.txt regardless of the owning SVM or volume-name. (planned feature, not yet implemented!)
Advanced Examples
Hint: The input for advanced examples is shortend. Replace the '...' below with ‑H <your filers ip or host-name>
Excludes the _root-volume and 'vol0'.
Same as above but using a different syntax. (Excludes the _root-volume and 'vol0'.)