Originally published January 7, 2018 @ 10:41 pm
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 sensors-detect 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 http://downloads.linux.hpe.com/SDR/hpPublicKey1024.pub rpm --import http://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub rpm --import http://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub cat << EOF > /etc/yum.repos.d/mcp.repo [mcp] name=Management Component Pack baseurl=http://downloads.linux.hpe.com/repo/mcp/centos/6.5/x86_64/10.10 enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp EOF
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
Experienced Unix/Linux System Administrator with 20-year background in Systems Analysis, Problem Resolution and Engineering Application Support in a large distributed Unix and Windows server environment. Strong problem determination skills. Good knowledge of networking, remote diagnostic techniques, firewalls and network security. Extensive experience with engineering application and database servers, high-availability systems, high-performance computing clusters, and process automation.