Posted February 10, 2011 by MrBerry
Im just writing up this post because the dellomsa packages arent working with the new Debian Squeeze 6.0.
I had problems with the omreport command not giving me info of ex memory/psu/cpu. (omreport chassis info said No sensors found etc)
I used some hours to try to get it working with a newer dellomsa but that didnt work either.
Then i found some official Dell Ubuntu packages, which i found working excellent on Debian Squeeze as well:
dpkg -P dellomsa #Make sure dellomsa isnt installed.
echo 'deb http://linux.dell.com/repo/community/deb/latest /' | sudo tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list
apt-get update
apt-get install srvadmin-base smbios-utils
You will also need the libsmbios2_2.2.13-0ubuntu4_amd64.deb from Ubuntu Lucid to get smbios stuff working.
dpkg -i libsmbios2_2.2.13-0ubuntu4_amd64.deb
/etc/init.d/dataeng start #if this starts, omreport works!
Now you have the newer Debian Squeeze Dell stuff working.
We have deployed our hwmonitoring of our Dell servers with check_openmanage and Nagios
Read more about the check_openmanage on the check_openmanage site (this is a great plugin btw!)
Resources:
http://folk.uio.no/trondham/software/check_openmanage.html
http://linux.dell.com/repo/community/deb/latest/
Tags: debian, dell, dellomsa, monitoring, nagios, squeeze
Posted November 19, 2009 by MrBerry
Yeah, Dell wont let you run their tools from any linux dist you want…It HAS to be a RHEL-like dist.
Yes, i know you could do something like this.
But if you dont feel frisky, and want to do it the right way….Start by downloading this CentOS 5.4 ISO:
http://mirror.hh.se/centos/5.4/isos/i386/CentOS-5.4-i386-LiveCD.iso
Burn it and boot up your server with F11, CDROM
When all is up and youve got net, do these deps:
yum install compat-libstdc++-33 procmail
Place you .BIN file from Dell on a ftp/http whatever..
Ex.
wget http://supereye.org/2950.BIN #The newest PowerEdge 2950 firmware
Finally ready for flashing:
chmod +x 2950.BIN && ./2950.BIN
Great success!
Tags: centos, dell, firmware, livecd, poweredge, redhat, rhel
Posted October 12, 2009 by morten
A friend pointed me to this site a few days ago. A nice little nagios plugin to alert you when your dell support contracts are about to run out.
http://ingvar.blog.linpro.no/2009/09/23/todays-sysadmin-tip-monitoring-dell-support-contracts/
Also check my comment to the post. You might want to add the following lines to the script :
if [ -z $days ]; then
echo “UNKNOWN: Could not retrieve info from support.dell.com.”
exit 3
fi
Tags: dell, nagios
Posted January 29, 2009 by morten
Getting Dell’s linux-software to work on other platforms than Redhat can be a bitch, but I was lucky to come across this article. Following those steps I had dellomsa up and running a couple of minutes later.
Then I went to nagiosexchange and downloaded the perl script check_dell_sensors.pl.
In this case I use check_by_ssh to run the check on each host, so here’s the command.cfg setup
define command{
command_name check_dell_sensors
command_line $USER1$/check_by_ssh -l someuser -t 30 -H $HOSTADDRESS$ -C "/usr/lib/nagios/plugins/check_dell_sensors.pl"
}
and finally the services.cfg
define service{
use generic-service
hostgroup_name cfg_CHECK_DELL_SENSORS
service_description CHECK_DELL_SENSORS
is_volatile 0
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups linux-admins
notification_period 24x7
notification_options c,w,r
check_command check_dell_sensors
}
This will monitor your dell hardware on all hosts in your cfg_CHECK_DELL_SENSORS hostgroup, giving you an output like :
/usr/lib/nagios/plugins/check_dell_sensors.pl
OK -- Hardware Log=Ok; Memory=Ok; Power Supplies=Ok; Processors=Ok; Temperatures=Ok; Voltages=Ok;
Tags: dell, hardware, monitoring, nagios