[gentoo-user] mdadm --monitor email

2011-02-13 Thread Mark Knecht
Hi, I'm curious about setting up my compute server to monitor RAID array status and have it email me information at my GMail account. Does anyone have info on setting this up on Gentoo? In general I'm following: http://en.gentoo-wiki.com/wiki/RAID/Software but it seems there are a few holes

Re: [gentoo-user] mdadm --monitor email

2011-02-13 Thread Michael Orlitzky
On 02/13/2011 11:04 AM, Mark Knecht wrote: Hi, I'm curious about setting up my compute server to monitor RAID array status and have it email me information at my GMail account. Does anyone have info on setting this up on Gentoo? In general I'm following:

Re: [gentoo-user] mdadm --monitor email

2011-02-13 Thread Mark Knecht
On Sun, Feb 13, 2011 at 10:09 AM, Michael Orlitzky mich...@orlitzky.com wrote: On 02/13/2011 11:04 AM, Mark Knecht wrote: SNIP 4) Assuming I do get this working, while testing can i have the program email me every 60 minutes whether things are good or bad, just to test that it's actually

Re: [gentoo-user] mdadm --monitor email

2011-02-13 Thread Mark Knecht
This is an automatically generated mail message from mdadm running on c2stable A TestMessage event had been detected on md device /dev/md/7. Faithfully yours, etc. P.S. The /proc/mdstat file currently contains the following: Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5]

Re: [gentoo-user] mdadm --monitor email

2011-02-13 Thread Michael Orlitzky
On 02/13/2011 01:37 PM, Mark Knecht wrote: I'll read through the links you posted to look at creating a test case. From the page you posted above I'm trying this at the command line: mdadm --monitor --mail=markkne...@gmail.com --delay=1800 /dev/md126 but I assume you think it won't do

Re: [gentoo-user] mdadm --monitor email

2011-02-13 Thread Michael Orlitzky
On 02/13/2011 01:45 PM, Mark Knecht wrote: I think I'm there except maybe for kicking off some sort of regular tests of the arrays vs waiting for things to fail. Any mdadm test is going to pass up until the point that it doesn't, which is when you'd get the alert email anyway =) If you want