SMART tools question

kcgr
Posts: 38
Joined: Fri Jun 21, 2013 2:26 pm

SMART tools question

Postby kcgr » Sat Jul 27, 2013 9:27 am

Is there a walkthrough I can use to setup the smart diskmonitor to email only when a problem comes up. I've read this: https://wiki.amahi.org/index.php/Disk_Error_Alerts. Unless, I'm misreading it, emails are sent out daily for each disk (which I don't want). Further digging led me to this: https://help.ubuntu.com/community/Smartmontools and it looks like what I need.

What I'm thinking of trying (once smartmontools is verified to be running) is to use the info in the second link to setup the smartd.conf file per the "Advanced" section. Then I'd add the bits down in the "Server" section (near the bottom) to setup email (but no shutdown) IF a problem comes up. I'm thinking of running the check at every boot. Of course I need to make sure the "sendmail package" is turned on too.

Any issues or comments for this approach?

Some other info:
1) I'm a newbie
2) My installation is headless on an HP mediasmart WHS box with 4 drives in it. Everything working nicely.
3) I mainly run the server during the weekend to serve as backup for another server and to tinker and learn.

thanks in advance!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: SMART tools question

Postby bigfoot65 » Sun Jul 28, 2013 5:12 pm

I had this set up previously on my server and only got emails when there was an issue. I would suggest trying the wiki method first and see how it works.

If it does not meet your needs, you can always go the other route.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 23 guests