NetApp Monitoring

Documentation

PerfDisk-Check

Check for system disks resource utilization.

Usage

$ check_netapp_pro.pl PerfDisk -H <host> -o disk|disk_constituent -z disk_busy|... [...] [--help]

Description

This plugin checks all disks in a NetApp system for their utilization (Percentage of time where at least one request is outstanding on the disk). Optional: the check can be limited to the disks of a single aggregate.

Simple Examples

[S1] ./check_netapp_pro.pl PerfDisk -H filer -w 83 -c 95

Checks each of the disks - warns if utilization is greater than 83%.

NETAPP_PRO PERFDISK OK - 10 disks checked.
v5.18 (aggr0, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313032:00000000:00000000): 0.3%
v5.17 (aggr0, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313031:00000000:00000000): 0.1%
v5.16 (aggr0, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313030:00000000:00000000): 0.1%
v5.19 (aggr1, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313033:00000000:00000000): 0.0%
v5.20 (aggr1, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313034:00000000:00000000): 0.0%
v5.21 (aggr1, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313035:00000000:00000000): 0.0%
v5.22 (aggr1, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313036:00000000:00000000): 0.0%
v5.28 (aggr_empty, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313131:00000000:00000000): 0.0%
v5.29 (aggr_empty, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313132:00000000:00000000): 0.0%
v5.32 (aggr_empty, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313133:00000000:00000000): 0.0%
| v5.16=0%;83;95;0;100 v5.17=0%;83;95;0;100 v5.18=0%;83;95;0;100 v5.19=0%;83;95;0;100 v5.20=0%;83;95;0;100 v5.21=0%;83;95;0;100 v5.22=0%;83;95;0;100 v5.28=0%;83;95;0;100 v5.29=0%;83;95;0;100 v5.32=0%;83;95;0;100

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 PerfDisk ... -w 83 -c 95 --raid_group=^aggr0$

Checks each of the disks in aggr0 - warns if utilization is greater than 83%.(The ^ and $ anchors the regex so that disks from e.g. aggr019 are not included.)

NETAPP_PRO PERFDISK OK - 3 disks checked.
v5.18 (aggr0, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313032:00000000:00000000): 0.0%
v5.17 (aggr0, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313031:00000000:00000000): 0.0%
v5.16 (aggr0, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313030:00000000:00000000): 0.0%
| v5.16=0%;83;95;0;100 v5.17=0%;83;95;0;100 v5.18=0%;83;95;0;100
[A2] ./check_netapp_pro.pl PerfDisk ... -w 83 -c 95 --raid_group=^/aggr0

Checks each of the disk whichs raid-group name begins with /aggr0 - warns if utilization is greater than 83%.

NETAPP_PRO PERFDISK CRITICAL - 6 disks checked, 3 critical and 0 warning.
v5.18 (/aggr0/plex0/rg0, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31363432:31303032:00000000:00000000): 41.9% (CRITICAL)
v5.17 (/aggr0/plex0/rg0, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31363432:31303031:00000000:00000000): 41.2% (CRITICAL)
v5.16 (/aggr0/plex0/rg0, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31363432:31303030:00000000:00000000): 41.0% (CRITICAL)
v5.17 (/aggr0_cluster1_02_0/plex0/rg0, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:36323138:31383031:00000000:00000000): 6.9%
v5.18 (/aggr0_cluster1_02_0/plex0/rg0, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:36323138:31383032:00000000:00000000): 6.7%
v5.16 (/aggr0_cluster1_02_0/plex0/rg0, 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:36323138:31383030:00000000:00000000): 6.5%
| v5.16=41%;10;20;0;100 v5.17=41%;10;20;0;100 v5.18=42%;10;20;0;100 v5.16=7%;10;20;0;100 v5.17=7%;10;20;0;100 v5.18=7%;10;20;0;100
[A3] ./check_netapp_pro.pl PerfDisk ... --explore=data

Prints all data found in the store.

Existing data for object 'perf_disk'
---------------- Call from 1396429992 (2014-04-02 09:13:12 UTC) ----------------
Node: sim812
Instance: v5.16 (4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313030:00000000:00000000)
base_for_disk_busy = 17750738
disk_busy = 1050886
display_name = v5.16
instance_name = 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313030:00000000:00000000
instance_uuid = 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313030:00000000:00000000
node_name =
Instance: v5.17 (4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313031:00000000:00000000)
base_for_disk_busy = 17750738
disk_busy = 1114108
display_name = v5.17
instance_name = 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313031:00000000:00000000
instance_uuid = 4E455441:50502020:56442D31:3030304D:422D465A:2D353230:31353934:34313031:00000000:00000000
node_name =
(...)
[A4] ./check_netapp_pro.pl PerfDisk ... --explore=counters

Prints all supported counters.

Counters (unit) supported by PerfDisk:
base_for_disk_busy ()
disk_busy (%)
display_name ()
instance_name ()
instance_uuid ()
node_name ()
[A5] ./check_netapp_pro.pl PerfDisk ... --exclude=read_ops --exclude=write_ops

Does not retrieve the two counters read_ops and write_ops.

[A6] ./check_netapp_pro.pl PerfDisk ... --exclude=.*_ops$

Does not retrieve any ops-counter (=any counter with _ops at the end of its name).

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