OMSA & Raid Enclosures

David Mansfield dell at
Fri Oct 19 08:24:15 CDT 2007

You mean you aren't getting a trap?  For that to work you need to:

1) add a 'trapsink' or preferably 'trap2sink' in your /etc/snmp/snmpd.conf or equiv.
2) add a 'traphandler' in /etc/snmp/snmptrapd.conf, I use the email traphandler
3) restart snmpd 
4) restart snmptrapd

If you are running centos 5 (others?) you also need to configure access to the snmptrapd from localhost for community public or whatever.

Here are my exact configs on a centos4 box (no access problems like centos5):

at the end of snmpd.conf:
# added by me
trap2sink public

# added by omsa
smuxpeer .

the entire snmptrapd.conf:
# added (created) by me
traphandle default /usr/bin/perl /usr/bin/traptoemail -s localhost -f \
	<from email addrsess> <to email address>

Note: the 'smuxpeer' part is what the snmpenable does, I think.

You may need some or all of these packages:


And make sure snmpd and snmptrapd are running and will automatically restart:

chkconfig snmpd on
chkconfig snmptrapd on
service snmpd restart
service snmptrapd restart


On Thu, 18 Oct 2007 15:47:13 -0600
Chris Hardy <chris.hardy at> wrote:

> I must still be missing something because the snmpd does not register
> that I'm pulling a drive out of the RAID array.
> On Wed, 2007-10-17 at 11:30 -0400, David Mansfield wrote:
> > Hi,
> > 
> > Don't know if this is still not working but...
> > 
> > If you didn't have the snmp packages installed before installing omsa it will not 'hook' it's snmp engine into the snmpd running on the host.  To get this to work after the fact you can try:
> > 
> > /etc/init.d/dataeng enablesnmp
> > 
> > I think. YMMV.
> > 
> > David
> -- 
> Chris Hardy <chris.hardy at>

David Mansfield <dell at>

More information about the Linux-PowerEdge mailing list