dell

megaraid

apt install -y gnupg
wget -O - https://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key | sudo apt-key add -
echo "deb http://hwraid.le-vert.net/ubuntu xenial main" | sudo tee -a /etc/apt/sources.list.d/hwraid.list
apt update
apt install -y megacli

summary

megacli -ShowSummary -aALL | less

show failed disks

megacli -ShowSummary -aALL | grep State
megacli -AdpEventLog -GetEvents -critical -a0