How OMSA can send a mail for each event

Thom Dyson TDyson at
Wed May 12 11:43:01 CDT 2004

You have a few options here.  The first, and IMHO better one, is to have
the messages go to syslog.  Then use a log watcher, like swatch, to monitor
syslog and alert you to various events.  The advantage here is that you
then have the ability to put in place a full scale monitoring system.
There is lots more going on in syslog than just OMSA stuff :)

The second option is to replace with a more elaborate, although
still relatively simple, shell script that send mail and writes to syslog.

Thom Dyson
Director of Information Services
Sybex, Inc.

linux-poweredge-admin at wrote on 05/12/2004 08:17:26 AM:

> How can OMSA send an email for each event  :

> In syslog it write :

> May 12 16:15:31 geek Server Administrator: EventID: 1254  Chassis
> intrusion detected  Sensor location: Main chassis intrusion  Chassis
> location: Main System Chassis  Previous state was: O
> K (Normal)  Chassis intrusion state: Open

> Can all theses messages be sent by email ?

> I did this :

> omconfig system alertaction event=intrusion
> execappath="/usr/local/bin/ 'Intrusion chassi'"
> ....
> omconfig ...
> omconfig ...

> (for all events ..)

> send an email, but there is no way to get the message
> sent to syslog ("intrusion detected  Sensor loc..").

> Has anyone tried something like that  :

> - Syslog send the log via email
> - omsa send directly via email
> - snmptrapd send directly via email (but how it can know the
> trap message ?)

> David ROBERT.

More information about the Linux-PowerEdge mailing list