Using hddtemp to monitor hard disk temperature
hddtemp is a small utility which reads the temperature of the hard drive using S.M.A.R.T as back-end (you must have smartmontools tool installed in your server). Hddtemp tool can also be daemonizable which runs on tcp port 7634 to fetch the reading from the remote server. You can even setup a cron script to shutdown the server if the configured temperature exceeds the limit. To install the tool.
1 -> SSh the server as root.
2 -> cd /usr/src (or to your favorite directory)
tar zxvf hddtemp-0.3-beta1.tar.gz
(hddtemp rpms can also be found in http://packages.sw.be/hddtemp/ & http://rpm.pbone.net/ )
if you have several IDE or sata drive, just execute the following commands to read the current drives temperature.
/dev/sda: ST3500630AS : 46Â°C
/dev/sdb: SAMSUNG HD501LJ : 36Â°C
For single drive :
External Links :
Tags : Harddisk temperature monitoring , Using hddtemp , Monitoring drive temperature using hddtemp , Installing hddtemp