check_netapp_snapmirror metric transfer-size

Monitors the last transfer-size of snap-mirror relations.

Description

This monitoring plugin checks the transfer-size of snap-mirror relations. (How much data was transferred during the last synchronization.)

Important Parameters

  • --warning / --critical: Thresholds for the transfer-size in bytes. For bytes SI-prefixed values (e.g. 2GiB or 3TB) are accepted as well. See also Large Byte Values
  • --comparison: Defaults to gt ( greater than). Switching to lt (less than) can be used to invert the logic and check for transfers with a suspicious small data-size.
  • --include / --exclude: Filter based on the instance names.

Examples

$ check_netapp_snapmirror metric transfer-size -H filer
NETAPP SNAPMIRROR TRANSFER SIZE CRITICAL - 3 snapmirror relationships checked, 3 CRITICAL
DM5NFS:DM5NFS01_PT->partner01:vol_DM5NFS01_PT_dest: 1.521GiB (CRITICAL)
DM5NFS:DM5NFS02->partner01:DM5NFS02_dest: 3.652GiB (CRITICAL)
DM5NFS:DM5NFS01->partner01:DM5NFS01_dest: 4.196GiB (CRITICAL)
| 'DM5NFS:DM5NFS01->partner01:DM5NFS01_dest'=4505904032B;100000000;200000000;0; …

Checks the last transfer-size of all snap-mirror relations on the filer against the default-thresholds.


$ check_netapp_snapmirror metric transfer-size -H filer --warning=4GiB --critical=10GiB
NETAPP SNAPMIRROR TRANSFER SIZE WARNING - 3 snapmirror relationships checked, 1 WARNING
DM5NFS:DM5NFS01->partner01:DM5NFS01_dest: 4.196GiB (WARNING)
DM5NFS:DM5NFS01_PT->partner01:vol_DM5NFS01_PT_dest: 1.521GiB
DM5NFS:DM5NFS02->partner01:DM5NFS02_dest: 3.652GiB
…

Checks the last transfer-size of all snap-mirror relations. Returns a warning for transfer-sizes above 4 GiB and critical for more than 10 GiB.