An interesting option for check_netapp_pro, available with the 4.3.0 release, is the new ––aggr_over=n feature.
The Usage plugin has always checked volume and aggregate capacities. The latter being serviced in dedicated detail via the OvercommitAggr plugin. The new option added to the Usage plugin now enables a more intelligent check of the space available and to alarm on these only when the aggregates are also overcommitted. In some cases, depending on your requirements, this might even do away with the extra OvercommitAggr check altogether.
To define the overcommitted border, we use the new option. When overcommitment is below this threshold, the exit state of the instance will remain OK (regardless of warning or critical settings). Only when the overcommitment is above the new threshold setting will these alarms be triggered.
An example may make this clearer, note the use of ––aggr_over=100 as the threshold here:
> check_netapp_pro.pl Usage -o aggregate -H $HOST -w 70 -c 90 ––aggr_over=100 … NETAPP_PRO USAGE CRITICAL - 3 aggregates checked, 1 critical and 1 warning … ––include/––exclude settings. n-odinn-01.N01_aggr_4: 93.0% full and 99.19% commited n-odinn-03.N03_aggr_5: 93.0% full and 100.04% commited (CRITICAL) n-odinn-03.N03_aggr_8: 93.0% full and 93.82% commited n-odinn-09.N09_aggr_7: 88.0% full and 95.13% commited n-odinn-02.N02_aggr_1: 87.0% full and 105.69% commited (WARNING) n-odinn-07.N07_aggr_2: 84.0% full and 90.95% commited n-odinn-03.N03_aggr_2: 79.0% full and 91.93% commited …