On Friday 28 October 2005 04:04 am, Brad Dameron wrote:
(Snip a bunch) I can run the commands individually from the cli.
Soooo, humor me here please. How do I get it to do that?
Bob S.
vi /etc/smartd.conf
Comment out the DEVICESCAN line and all the rest of the uncommented lines.
Then add a line that is like this:
/dev/hda -a -H -m test@test.com -o on -S on -s (S/../.././02|L/../../6/03)
Replace /dev/hda with your drive. Replace test@test.com with your email. Changes dates of scanning if you like.
This will Monitor all attributes, enable automatic online data collection, automatic Attribute autosave, and do a short self-test every day at 2am, and a long self test Saturdays at 3am.
Copied directly from the smartd.conf file.
Thanks Brad, Have something similar to that in my smartd.conf file, with the exception of getting an email sent. Question, what calls the smartd.conf file, Cron ?? Maybe that is what is not happening. (Don't ever see anything in /var/log/messages. I also have two hard drives. Can I make that command call to check the two drives consecutively? Bob S.