I have a Dell PowerEdge R415 and R515 and wondering how I can be alerted remotely when a hard drive fails in either server? Both are running RAID, so I need to be notified, so I can swap out the drive. Both servers only have the basic Baseboard Management Controller. Is this possible with a third party tool/software?
The Dell OpenManage software can send out alerts to the console and broadcast messages to the network. I'd much prefer email since I monitor multiple clients so another option in the OpenManage software is to run an application. There is a simple emailer program called bmail that I use and I setup a batch file to run.
So I setup a folder on the C: drive called bmail and copy the bmail.exe to this folder. Then created a batch file called email.cmd with the following code:
REM Created by Jerod Hammerstein REM This is called via the Dell System Administrator in case of storage alerts REM using bmail to send logs via email to the recipients listed in toaddress REM when calling email.cmd, use first parameter "%1" as subject REM use second paramater as full path to log file then alter command line to include -m "%2". REM Put SMTP server address here and make sure it allows Relay from 127.0.0.1 SET SMTP="192.168.1.200" SET toaddress="email@example.com,firstname.lastname@example.org" SET fromaddress="Exchange@yourdomain.com" c:\bmail\bmail -s %SMTP% -t %toaddress% -f %fromaddress% -h -a %1
In the OpenManage Server Administrator, go to Alert Management and click on the system event you want to be emailed for. Check "Excecute application" and in the "absolute path to the application" put the following:
c:\bmail\email.cmd "Put the name of the System Event here"
I use Dell Openmanage Server Administrator Managed Node with Nagios and the check_openmanage plugin (http://folk.uio.no/trondham/software/check_openmanage.html). And then checking it all via SMTP.