Dell OpenManage Server Administrator has the facility to execute an application when a fault is detected in the hardware, and this can be used to trigger an email to alert an administrator.
Many years ago I posted a script written in VBScript which enables email alerts from Dell OMSA without the need for IT Assistant. This script has proved to be very popular, but a number of users have not been able to make it work because it depends on CDO, which is not included in Windows Server Core.
So, I have rewritten the script in Powershell and it should now work on any system which has Powershell installed. Included in the download are both the VBScript original and the new PowerShell version.
Installation of Dell Server Alert Script:
- Download the Dell Alert Script
- Extract it to a folder on your system, e.g. “C:\Script”
- Edit the variables at the top of the script to configure your email setup
Test Email functionality
Now that you have the script and have configured your SMTP options do the following:
- Open PowerShell.
- Run the script with the “testemail” parameter e.g:
- Check your email, if everything is working properly you should have received a test alert.
Setup email alerts from Dell OpenManage
Once the email function has been tested you can go ahead and setup the script to run from Dell OpenManage:
Generate a test alert from your server
There are a few ways to test the script in practice with a real alert generated by OpenManage:
- Pop the side off the server casing, this will generate a chassis intrusion alert.
- If you have a dual power supply system you can pull the power to one of the supplies and the server should report the power loss.
- Trigger a temperature alert:
If you have any questions, feel free to leave a comment.