[CentOS] mdmonitor not triggering program on fail events
Ow Mun Heng
Ow.Mun.Heng at wdc.com
Thu Jun 12 01:25:57 UTC 2008
No One has any clues??
On Wed, 2008-06-11 at 12:11 +0800, Ow Mun Heng wrote:
> Hi,
>
> Can anyone help me with this since I want to get it done "the correct
> way"
>
> I'm trying to make mdmonitor to execute a program when it detects a fail
> event automatically.
>
> Currently, from what I see, init is calling mdmonitor with these options
>
> mdadm --monitor --scan -f
>
> (note that the --program is not there)
>
> and this is in my /etc/mdadm.conf
>
> MAILADDR root
> PROGRAM /root/program_2_run.sh
>
> short of hacking the mdmonitor script to hardcode the program there, is
> there an alternate, more elegant way?
>
> Thanks.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
More information about the CentOS
mailing list