Featured Posts

GoAccess is an interactive and website / web-server log analyzer tool currently better than the ApacheTop interface. It provides fast and valuable HTTP statistics for system administrators that require a visual...

Readmore

AjaxMyTop AjaxMyTop is a Web-based tool featuring an AJAX user interface for monitoring a MySQL server. Installing and configuring is fairly simple which you can done it within 2 minutes. [caption id="attachment_587"...

Readmore

Mod_spin is a content handler and/or a filter, meaning, for a specified file extension, mod_spin will read the file (or other input), parse it into an Abstract Syntax Tree (AST) and then replace the occurrences...

Readmore

Server Monitoring using DSTAT DSTAT an excellent tool which combines the overall stats of vmstat, iostat, netstat and ifstat. Dstat allows us to view all of the system resources in the real-time including the network bandwidth, network...

Readmore

BWM-NG Monitoring Network Bandwidth and Disk I/O using BWM-NG BWN-NG (Bandwidth-NG) is old and simple tool to monitor the bandwidth and disk I/O including the RAMdisk usage, this tool really helps the...

Readmore

  • Prev
  • Next

hddtemp

Posted on : 10-08-2010 | By : admin | In : CPanel / WHM

1

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)

wget http://mirror.veriportal.com/savannah/hddtemp/hddtemp-0.3-beta1.tar.gz

tar zxvf hddtemp-0.3-beta1.tar.gz

cd hddtemp-0.3-beta1/

make

make install

cd /etc

http://www.guzu.net/linux/hddtemp.db

(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.

hddtemp /dev/sd?

Output :

/dev/sda: ST3500630AS                             : 46°C

/dev/sdb: SAMSUNG HD501LJ                 : 36°C

For single drive :

hddtemp /dev/sda


External Links :

hddtemp home page :

hddtemp with nagios :

hddtemp cron script and remote readings :

Tags :  Harddisk temperature monitoring , Using hddtemp , Monitoring drive temperature using hddtemp , Installing hddtemp


Comments (1)

Hey mate, thanks for sharing but this page isn’t vewable in Firefox it is is overlapping.

Write a comment

You must be logged in to post a comment.