Adding hddtemp monitoring

Issues related to software problems.
Post Reply
Posts: 5
Joined: 2007/05/06 07:20:01

Adding hddtemp monitoring

Post by Harald-Rudell » 2007/05/07 08:12:20

Getting hard drive temperatures on your GNOME bar:

(auto in some distros, manual in CentOS)

1. add rpmforge as described [url=]here[/url]
2. get hddtemp: yum install hddtemp.i386
3. make sure your drive works: for /dev/sda: # /usr/sbin/hddtemp /dev/sda
/dev/sda: ST3320620AS: 56?C
3a. if you get a multiline output about your drive not in the database - add the identifier to the file /usr/share/hddtemp/hddtemp.db
4. add hddtemp as a service by adding a line to /etc/rc.d/rc.local:
/usr/sbin/hddtemp -d -l -p 7634 -s \| /dev/sda /dev/sdb
(this monitors the two drives /dev/sda and /dev/sdb)
5. reboot and check that the service works: # nc localhost 7634
|/dev/sda|ST3320620AS|56|C||/dev/sdb|ST3320620AS|58|C| #
(I know, they are running very hot...)
6. in Gnome, right click your favorite panel and add the Hardware Sensors Monitor, under Preferences/Sensors there should be a hddtemp entry

Seagate can run up to 60 C, most others like 50 or 55, check with your vendor


Harald Rudell

Post Reply

Return to “CentOS 5 - Software Support”