NetApp Monitoring

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

[S1] ./check_netapp_pro.pl ReportIOPS -H filer --svm=comp-a -w 1500 -c 3000

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.


NETAPP WARNING - 3 volumes checked, total sum 1879.4/s
vol_02: 1059.8/s total_ops
vol_03: 259.8/s total_ops
vol_10: 559.8/s total_ops
summary: 1879.4/s total_ops
# vol_0, vol_03 and vol_10 are owned by the SVM comp-a, all other volumes
# on filer are skipped.
[S2] ./check_netapp_pro.pl ReportIOPS -H filer --vol=^comp-a_vol -w 1500 -c 3000

Checks all volumes whose name starts with 'comp-a_vol' regardless of the owning SVM.


NETAPP WARNING - 3 volumes checked, total sum 1879.4/s
comp-a_vol_02: 1059.8/s total_ops
comp-a_vol_03: 259.8/s total_ops
comp-a_vol_10: 559.8/s total_ops
summary: 1879.4/s
[S3] ./check_netapp_pro.pl ReportIOPS -H filer --list=comp-a.txt -w 1500 -c 3000

Checks all volumes listed in comp-a.txt regardless of the owning SVM or volume-name. (planned feature, not yet implemented!)


NETAPP WARNING - 3 volumes checked, total sum 1879.4/s
some_vol: 1059.8/s total_ops
other_vol_03: 259.8/s total_ops
third_vol: 559.8/s total_ops
summary: 1879.4/s

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 ReportIOPS ... --svm=comp-a -X ^(_root|vol0)$

Excludes the _root-volume and 'vol0'.

[A2] ./check_netapp_pro.pl ReportIOPS ... --svm=comp-a -X ^_root$ -X ^vol0$

Same as above but using a different syntax. (Excludes the _root-volume and 'vol0'.)

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