Aggregate State Check

Monitors the aggregate state (online, offline).

Usage

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

Description

This plugin checks the state of the aggregates and compares them to a given value or regex-pattern. The default ok-state is online.

Important Parameters

  • --include / --exclude: Filter based on the instance names (string or regex).
  • --ok-type=<string or regex>: String or regular expression that defines, which state is ok. The default is online.

See also the section Examples and Regular Expressions.

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

Examples

$ check_netapp_aggregate state -H filer
NETAPP AGGREGATE CRITICAL - 2 aggregates checked, 1 CRITICAL
affr-01.affber_SSD_1: offline (CRITICAL)
affr-02.affber_SSD_1: online

Checks if any aggregates are offline. Critical alarm if at least one is found offline.


$ check_netapp_aggregate state -H filer --exclude=affr-01.affber_SSD_1
NETAPP AGGREGATE OK - 1 aggregate checked
affr-02.affber_SSD_1: online

Checks if any aggregates are offline, but skips the one whose name is exactly affr-01.affber_SSD_1. Critical alarm if at least one is found offline.


$ check_netapp_aggregate state -H filer --exclude=~affr-01
NETAPP AGGREGATE OK - 1 aggregate checked
affr-02.affber_SSD_1: online

Same as above, but here we use a regex to exclude.