Displaying 1 result from an estimated 1 matches for "program_2_run".
2008 Jun 11
3
mdmonitor not triggering program on fail events
...39;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.