How to configure notification on degraded RAID? [closed]

In most cases the raid itself will not notify you. You will have to use software or a script to poll the status of the raid periodically and notify you via email or other ways.

For the mdraid based software raids you can use mdadm for monitoring and for others there are different ways.

You can get inspiration from check_raid which is commonly used with nagios/naemon monitoring, but you can use it as a standalone script.

check_raid