RAID Monitor for LSI/3Ware MegaRAID controllers

I still manage a few old servers with 3Ware/LSI MegaRAID controllers (e.g. the 9650SE) and wrote the following Python3 script which is sitting in /etc/cron.daily and sends and email if there is any problem with the battery, disks or units. Keep in mind that scripts inside the /etc/cron.* folders are not allowed to have a dot in the filename, otherwise those will be ignored. If you don’t have a working mail configuration, I recommend exim4 which is easily set up in a few minutes with standard settings....

April 5, 2021 · 2 min