How to send a alert mail when a drive fails

Alan McNatty alan.mcnatty at
Thu Feb 22 09:44:02 CST 2007

Hi Sheng,

If you don't want to use SNMP one thing you could consider doing is 
parsing the output of:

/opt/dell/srvadmin/oma/bin/omreport storage pdisk controller=0

On a regular basis. The Status: Ok line might be a good start.



p.s omreport chassis -? and omreport storage -? are useful to see a list 
of what's available.

Sheng Zheng wrote:
> Is there any way to make OMSA 5.1 email to administrator when a drive 
> fails or has a problem? On "Alert Actions" tab, we set all alert action 
> to execute a sendmail script. It works fine when system fails , but not 
> work with drive fails . Is there any way to do this  without snmp?
> Thank you in advance
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at
> Please read the FAQ at

Alan McNatty <alan.mcnatty at>
Systems Administrator / Senior Programmer
NewsNow Publishing Limited

+44 (0)20 7471 0400

More information about the Linux-PowerEdge mailing list