Unix and Linux network configuration. Multiple network interfaces. Bridged NICs. High-availability network configurations.


Reviews of latest Unix and Linux software. Helpful tips for application support admins. Automating application support.


Disk partitioning, filesystems, directories, and files. Volume management, logical volumes, HA filesystems. Backups and disaster recovery.


Distributed server monitoring. Server performance and capacity planning. Monitoring applications, network status and user activity.

Commands & Shells

Cool Unix shell commands and options. Command-line tools and application. Things every Unix sysadmin needs to know.

Home » Hardware

Taking Linux Temperature

Submitted by on December 14, 2015 – 12:21 am

Just some notes on setting up temperature monitoring and alerting on CentOS/RHEL running on HP ProLiant. The first step is to install lm_sensors:

yum -y install lm_sensors

Now we need to install hddtemp package:
yum -y install hddtemp
for i in `fdisk -l 2>/dev/null | egrep -o "/dev/sd[a-z]"` ; do hddtemp $i ; done

Enable HP software delivery repo by following these instructions. The basic process goes something like this:
rpm --import
rpm --import
rpm --import

cat << EOF > /etc/yum.repos.d/mcp.repo
name=Management Component Pack

Make sure to insert the correct flavor, version, arch, and repo rev. Now you can install a couple useful components of HP’s MCP hairball:
yum -y install hp-health hp-snmp-agents hp-ams
chkconfig --list | grep hp
for i in hp-health hp-snmp-agents hp-ams ; do service $i status ; done

To get power supply status, fan speed, and temperature readings:
hplog -p -f -t


Print Friendly, PDF & Email

Leave a Reply