Setting OMSA alerts for storage

Jayson Smuts jayson at dolphin-it.co.za
Tue Mar 17 07:33:45 CDT 2009



>>> Stijn van der Ree<s.vanderree at mcat.nl> 3/16/2009 10:38:29 am >>>
Jeff Ewing wrote (03/15/2009 02:50 PM):
> On Fri, Mar 13, 2009 at 05:43:13PM +0100, Stijn van der Ree wrote:
> 
> 
>> Hello list,
>>
>> I have a few 2950's running CentOS 5.2. I installed OMSA and it is working 
>> without problems. I can see all info, including storage info in the 
>> web-interface and on the commandline.
>>
>> Now I'm setting some alerts with omconfig, like this:
>>
>> $ omconfig system alertaction event=voltfail 
>> execappath="/usr/local/bin/omsa_mail"
>>
>> This is working fine (and I can see the alerts are set in the webinterface). 
>> But when trying with the storage options (pdiskwarn, pdiskfail, vdiskwarn 
>> etc) it shows me:
>>
>> Error! Hardware subsystem reports command failed.
>>
>> I'm also missing these entries in the webinterface.
>>
>> Does anyone know how I can activate alerts for storage?
>>
>> Thanks in advance.
>>
> 
> I had a problem like this, resolved by re-installing the storage rpms:
> 
> srvadmin-services.sh stop
> rpm -e srvadmin-storageservices srvadmin-storage srvadmin-all
> yum install srvadmin-storageservices
> srvadmin-services.sh start

That worked!

Cheers,
Stijn

Hi Stijn

I tried something like this and the mails come through multiple times for the
event, What is in your /usr/local/bin/omsa_mail script ?

Regards Jayson



More information about the Linux-PowerEdge mailing list