IBM HS21 raid1 monitoring mpt-status Debian

# apt-get install mpt-status

# modprobe mptctl
# mpt-status
ioc0 vol_id 0 type IM, 2 phy, 67 GB, state OPTIMAL, flags ENABLED
ioc0 phy 1 scsi_id 4 IBM-ESXS MAY2073RC T107, 68 GB, state ONLINE, flags NONE
ioc0 phy 0 scsi_id 1 IBM-ESXS MAY2073RC T107, 68 GB, state ONLINE, flags NONE

# echo 'MAILTO="moj@adres.com"' >>/etc/default/mpt-statusd
# /etc/init.d/mpt-statusd restart