Re: Questions about smartd.conf and running smartd
Per Jessen <[email protected]>
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Organization | Per Jessens personal news-server |
| Message-ID | <[email protected]> |
Dave Peter wrote: > Hello all, > > I am newbie to smarttools. > I configured smartd.conf like this: > > /dev/sda1 -d megaraid,0 -H -C 0 -U 0 -m [email protected] > > and services smartd is running. > Do I need to setup cron job to run or it will run by itself? If it'll > run itself by default? How often? No, you need to use the '-s' option to schedule automatic tests. See the man page for smartd.conf. I usually run a short selftest once a day, and a long selftest once a week. > and I would like to recieve the mail only when there is warning or > failure on the drive. Is it possible and how to do? Yes, that's how you've set it up above. -- Per Jessen, Zürich (4.1°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ Smartmontools-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/smartmontools-support