How can I monitor the status of the hard disks and the RAIDs of an HP Proliant server using Ubuntu 12.04. In Ubuntu 10.04 I could use the cciss-vol-status to query the RAID status periodically but cciss-vol0-status doesn't work on 12.04 anymore. In 12.04 there are no /proc/driver/cciss or /dev/cciss directories.
Ubuntu RAID Monitoring – HP Proliant Servers Guide
hphp-proliantmonitoringraidUbuntu
Related Topic
- Ubuntu – RAID degraded on Ubuntu server
- Finding out which cciss disk is what /dev/sdX disk (smartmontools & cciss raid controller)
- Ubuntu – Install Centos 7 or Ubuntu 14.04 on HP DL160 G6
- Monitoring – Getting Hard Disk Status from RAID with SmartCTL
- Linux – Unable to Rebuild RAID 1 Array in BIOS and Ubuntu Server
Best Answer
Grrr... Ubuntu. :)
What type of HP ProLiant server is this? (model and generation, please)
Your drive device will vary depending on your Smart Array controller. With the move from G5 to G6 servers, the HP RAID controller driver changed from the legacy CCISS driver to the new HPSA driver. With the newer driver, you won't see the CCISS block driver... Devices will be
/dev/sdX
.Regardless, your key to monitoring Smart Array RAID controllers is to install the HP Management Agents. At the very least, you'll want the
hpacucli
command line utility. Ubuntu and Debian have always had less official support from HP than the Red Hat/SuSE. However, there is a Debian ProLiant Support Pack that includes agents and tools for Ubuntu/dpkg systems.That' more of a comprehensive approach that can generate SNMP traps and nifty email alerts. In order to just get the RAID configuration and management software, pull the
hpacucli
utility down from HP's repository.You may need to also
apt-get install lib32gcc1 lib32stdc++6 libc6-i386
to meet 32-bit prerequisites.From there, you can use some common
hpacucli
commands to obtain RAID status. An easy example: