[CentOS] DELL openmanage question

Michael Best

mbest at pendragon.org
Wed Jun 14 04:56:15 UTC 2006


David Mansfield wrote much of this:

My modified version of his cookbook.

When you're finished, you should be able to find the web interface via

https://yourmachine.yourdomain.com:1311

installing omsa
===============

install net-snmp, net-snmp-utils then use 'chkconfig' and 'service' to
make sure it is running, and will start on subsequent boots

yum -y install net-snmp net-snmp-utils
chkconfig snmpd on
chkconfig snmptrapd on

yum -y install OpenIPMI
chkconfig ipmi on
service ipmi start

wget -q -O - http://linux.dell.com/yum/software/bootstrap-omsa-all.sh | bash

yum -y install srvadmin-all

# to see if dataeng has snmp support:
/etc/init.d/dataeng getsnmpstatus

# if necessary, enable snmp through omsa:
/etc/init.d/dataeng enablesnmp

# NOTE: please fix the email addresses in the next instruction!

# setup trap handling for snmptrapd. edit /etc/snmp/snmptrapd.conf and add:

echo "traphandle default /usr/bin/perl /usr/bin/traptoemail -s localhost 
-f from at yourdomain.com to at yourdomain.com" > /etc/snmp/snmptrapd.conf

# restart snmptrapd
service snmptrapd restart

# setup local snmpd to deliver traps to localhost. edit 
/etc/snmp/snmpd.conf (probably only v2 is necessary) and add:

cat >> /etc/snmp/snmpd.conf <<EOF
trapsink 127.0.0.1 public
trap2sink 127.0.0.1 public
EOF

# add the mibs
find /opt/dell/ -name \*.mib -exec cp {} /usr/share/snmp/mibs \;

# tell net-snmp progs to read the mibs. edit /etc/snmp/snmp.conf and add:
echo "mibs +MIB-Dell-10892:StorageManagement-MIB" >> /etc/snmp/snmp.conf

# restart snmpd
service snmpd restart




More information about the CentOS mailing list