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:bmailbmail -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:bmailemail.cmd "Put the name of the System Event here"