md question...auto notification of raid problems (via email?).
I have a functional md raid1 array that recently went down due to a power outage. I got it working without problems, but I am curious if the MD driver has some sort of notification system built in. Like if a raid array goes down or is down on boot, it will email me the logs or something. I am sure that some sort of script can be used, but I am very unfamiliar with scripting and have been unable to find anything yet. If anyone knows what I need to do, that would be extra helpful!