2
votes
1answer
611 views

Cron script to detect degraded raid array?

To my surprise, my raid array entered degraded mode some time ago. How can I set up a cron job to warn me? I've tried from the mdadm man page: Running mdadm --monitor --scan -1 from a cron script ...