Dell OpenManage Server Administrator can execute an application when a fault is detected in the hardware, and this can be used to trigger an email to alert an administrator.
I wrote a script written in VBScript which sends email alerts from Dell OMSA without the need for IT Assistant. This post covers the new version of the script which is written in PowerShell.
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. The script in the download does not work with OMSA 9.3 and complains with the error:
Error! No application exists in the specified path.
I made a quick edit to the script to make it work with OMSA 9.3 which you can download here: