PDA

View Full Version : HOWTO-tiny monitoring DELL PE 1800 RAID status


yopito
12-05-2006, 19:22
hello,

how I've done to monitor a DELL PowerEdge 1800 RAID controller status thanks to zabbix.


Environment on dell PE 1800 : zabbix-agentd-1.1b9, CentOS-4.3/i386, kernel-2.6.9-34.106unsupportedsmp

Utility "omreport" comes from DELL OpenManage RPM "srvadmin-storage-4.5.0-335.i386.rpm" (some dependencies not showned here).

I suspect that omreport also needs the MegaRAID driver to work correctly (DELL RPM megaraid-v2.20.4.4-2dkms.i686.rpm for me).

zabbix-agentd.conf just contains:

# DELL Perc4 RAID controller: return 1 if OK, 0 otherwize
UserParameter=dellRAIDok,/usr/bin/omreport storage vdisk | /bin/fgrep 'State : Ready' |wc -l


For an unknown reason, unable to use "grep -c" : works only if echo 1 but NOT if echo 0 ...

If you want to have more details on a particular virtual disk, try to play with :

omreport storage adisk controller=0 vdisk=0



my .02 eur.

BTW, does someone know how to retrieve/monitor the temperature(s) ? I began to play with IPMI, but it's a nigthmare to understand and configure :(