1

Does anyone know how I can monitor (either gui or shell) the health status of my SATA disks via the P212 (256Mb) controller card of my ProLiant ML110 G6 ? I've currently got Centos 6.2 64bit installed but don't see how to show,say, the current SMART temperature values of the RAIDed SATA disks. On ubuntu I believe I have used some sensors daemon or similar in the past but not with P212 (yet).

1 Answers1

1

You need to install the ProLiant management agents for your server model.

The hp-snmp-agents package will provide some of what you need, but the Array Configuration Utility (especially the hpacucli program) will be the most helpful. Since this is a 100-series server, installing the HP agents may be a bit too heavy. They're really optimized for the higher-end models.

If you're looking for a quick way to check RAID status (which is more important than SMART status in this case), try the cciss_vol_status script.

Also see:

How do I get my HP servers to email me when a drive fails?

How do you get information about the physical drives in a HP Smart Array RAID volume

Edit:

cciss_vol_status output:

[root@Fruity ~]# cat /proc/scsi/scsi 
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: hp       Model: DVD A  DS8A5LH   Rev: 1HE4
  Type:   CD-ROM                           ANSI  SCSI revision: 05
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: HP       Model: P410i            Rev: 5.14
  Type:   RAID                             ANSI  SCSI revision: 05
Host: scsi2 Channel: 00 Id: 00 Lun: 01
  Vendor: HP       Model: LOGICAL VOLUME   Rev: 5.14
  Type:   Direct-Access                    ANSI  SCSI revision: 05

I tried /dev/sg0, /dev/sg1 and /dev/sg2... I actually have a disk reporting a SMART issue...

[root@Fruity ~/cciss_vol_status-1.09]# ./cciss_vol_status -s /dev/sg1
/dev/sda: (Smart Array P410i) RAID 1 Volume 0 status: OK. 
         connector 1I box 1 bay 3     STEC    Z16IZF2D-200UCM    STM000143959     E123 S.M.A.R.T. predictive failure.
ewwhite
  • 194,921
  • 91
  • 434
  • 799
  • many thanks for this very prompt reply. I have now got the HP SNMP Agents and system health cli installed and can now do "# hpacucli controller slot=3 physicaldrive all show", for instance, and the output information does include the drive temperatures. Then I installed the cciss software but as yet cannot figure the name of my raid device to tell it to query. cat /proc/scsi/scsi show the RAID as scsi4 chan 0 id 0 lun 0 and ls -l /sys/class/scsi_generic lists sg0,sg1 and sg2. No doubt someone can point me at what device to use for cciss_vol_status -s /dev/,,,, – mark simmons Mar 21 '12 at 12:52
  • It's RHEL6 under the `hpsa` driver, so... `/dev/sdX` is the block device. I just checked on another server and my output is added to my answer above. – ewwhite Mar 21 '12 at 13:05
  • Good. Please mark this as the answer. – ewwhite Mar 21 '12 at 13:37