check_netapp_flexcache

Checks the flexcache’s connection-state.

Description

This plugin monitors the connection-state of flexcaches.

The disconnected and unknown states are considered to be CRITICAL, connected and downrev are OK.

The patterns given to the --exclude|-X and --include|-I parameters allow to check specific flexcaches only.

Example

$ ./check_netapp_flexcache --host=filer            
NETAPP FLEXCACHE CRITICAL - 6 flexcaches checked, 2 CRITICAL
al-st-01.fba_microservices_ie_cache__0003: unknown (CRITICAL)
al-st-01.fba_microservices_cache__0002: disconnected (CRITICAL)
al-st-01.fba_microservices_cache__0001: connected
al-st-01.fba_microservices_ie_cache__0004: connected
al-st-01.fba_microservices_ie_cache__0002: downrev
al-st-04.fba_manage_cache__0003: connected

Checks all flexcaches on filer for their connection status. CRITICAL if the state is unknown or disconnected, OK if connected or downrev.