Aggregate Usage Check

Monitors the aggregates used size.

Usage

$ check_netapp_aggregate usage -H <host> [...] [--help]

Description

This plugin checks how much space of an aggregate is already used.

For a complete list of all parameters consult --help on the commandline.

Examples

$ check_netapp_aggregate usage -H filer -w 80% -c 95%
NETAPP AGGREGATE USAGE OK - 2 aggregates checked
aggr1_AUS17_02.sg-at0001: 51.0%, 45.72TiB used
aggr1_AUS17_01.sg-at0001: 71.3%, 63.91TiB used

Checks the usage in percent. Warns if more than 80% used and critical if more than 95%.


$ check_netapp_aggregate usage -H filer -w 60% -c 95%
NETAPP AGGREGATE USAGE WARNING - 2 aggregates checked, 1 WARNING
aggr1_AUS17_01.sg-at0001: 71.3%, 63.91TiB used (WARNING)
aggr1_AUS17_02.sg-at0001: 51.0%, 45.72TiB used

Same as above but with lower thresholds. One of the aggregates is warning now.


$ check_netapp_aggregate usage -H filer -w 200GiB -c 280GiB
NETAPP AGGREGATE USAGE OK - 2 aggregates checked
aggr1_xh0001: 58GiB used
aggr1_xh0001: 22GiB used

Checks the usage in absolute byte-values. Warns if more than 200 GiB are used and critical if more than 280 GiB.


Advanced Examples

$ check_netapp_aggregate usage -H filer -w 10% -c 5% --comparison=lt
NETAPP AGGREGATE USAGE OK - 2 aggregates checked
aggr1_AUS17_02.sg-at0001: 42% used
aggr1_AUS17_01.sg-at0001: 75% used

Checks for underused aggregates (aggregates with too much unused space). Warns if less than 10% and critical if less than 5%.