Created
August 9, 2015 22:09
-
-
Save paramonovav/d17628f8470e9ead9d3d to your computer and use it in GitHub Desktop.
Monitoring RAID arrays
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mdadm --monitor --mail=root@localhost --delay=1800 /dev/md2 | |
#should release a mdadm daemon to monitor /dev/md2. The delay parameter means that polling will be done in intervals of 1800 seconds. Finally, critical events and fatal errors should be e-mailed to the system manager. That's RAID monitoring made easy. | |
#Finally, the --program or --alert parameters specify the program to be run whenever an event is detected. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment