Using Dell OpenManage on Centos

 

I’m sure that Dell DVD that comes with the OS – Free server you bought from dell works great if you are using RHEL but if you want to use some sort of Centos distro like Elastix and want to monitor your server you are SOL until you do a little SSH.

The Barebones Dell I got has a hardware RAID controller, but for real, like there is not eve a light or a beep or anything that goes down when a drive fails unless you are running their Openmanage software.

Step 1, blindly trust dell by piping a remote script into bash and potentially backdooring your system with whatever they want

http://linux.dell.com/wiki/index.php/Repository/hardware

from bash as root

 

wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash

This is ugly as hell, but will install the Dell Repo and let you execute:

 

# yum install srvadmin-all

# /opt/dell/srvadmin/sbin/srvadmin-services.sh start

 

Now, preemptively make a little script in your /usr/local/bin/ directory called

om_alert.sh

#!/bin/sh
HOST="descriptive server name"
EMAIL="you@you.com"
echo "Dell OpenManage ALERT detected on $HOST. Login Now at Port 1311" | mail $EMAIL -s "OM Alert $HOST"

 

then

 

chmod +x om_alert.sh

 

Now send all openmange alerts to your email: thanks to Gavin Burris

# for I in `omconfig system alertaction | sed 's/ *(.*)//; s/>.*//; s/.*[:<] *// ; s/|/ /g;'`; do 
echo $I; 
omconfig system alertaction event=$I alert=true broadcast=true execappath="/usr/local/bin/om-alert.sh"
done

 

Now you can login from any computer using your root login/pswd at:

 

https://serverip:1311

 

Please note, and this took a bit of figuring. If your root password has special characters (mine had an ampersand) it may not work in openmanage. I had to change it and then could log in fine. I reported this bug to dell and will hold breath until fixed.

Posted in Uncategorized.

Leave a Reply

Your email address will not be published. Required fields are marked *