HOWTO Monitor your hard disk(s) with smartmontools - Gentoo Linux Wiki
"Aim of this howto is to exploit SMART technology (nowadays every hard disk has got it) to check if it is ok or not. "