Documentation
LunAlignment-Check
Checks for misaligned luns and alarms if too many were found.
Usage
$ check_netapp_pro.pl LunAlignment -H <host> [-I <name> | -X <name> | --vserver <name>] [-w <n> -c <n>] [--help] [...]
Description
This plugin counts the misaligned luns per vserver on the filer. If the the number of misaligned LUNs reaches the threshold/s an alarm is triggered.
Only misaligned LUNs are counted - any other state (partial-writes, indeterminate, aligned) is considered to be ok.
Consider using -v
for inspection, if you are not satisfied with the result.
Simple Examples
Check the alignment of all luns on all vservers. Warns if 5 or more misaligned luns were found on a vserver and send a critical alarm if 10 or more luns are misaligned (default values).
Same as above but print the name of each misaligned lun.
Check the alignment of all luns on all vservers. Warn if 2 or more misaligned luns were found per vserver and send a critical alarm if 5 or more luns are misaligned.
Advanced Examples
Hint: The input for advanced examples is shortend. Replace the '...' below with ‑H <your filers ip or host-name>
Searches for misaligned luns but ignores every lun ending with lun1.
Searches for misaligned luns located on vserver sp-arg03. (Ignores any other vserver.)