Omconfig system alertaction event=pdiskwarn execappath="%ScriptPath% physical disk warning" Omconfig system alertaction event=storagectrlfail execappath="%ScriptPath% storage controller failure" Omconfig system alertaction event=storagectrlwarn execappath="%ScriptPath% storage controller warning" Omconfig system alertaction event=storagesysfail execappath="%ScriptPath% storage system failure" Omconfig system alertaction event=storagesyswarn execappath="%ScriptPath% storage system warning" Omconfig system alertaction event=systempowerfail execappath="%ScriptPath% system power failure" Omconfig system alertaction event=systempowerwarn execappath="%ScriptPath% system power warning" Omconfig system alertaction event=batteryfail execappath="%ScriptPath% battery failure" Omconfig system alertaction event=batterywarn execappath="%ScriptPath% battery warning" Omconfig system alertaction event=watchdogasr execappath="%ScriptPath% watchdog asr" Omconfig system alertaction event=processorfail execappath="%ScriptPath% processor failure" Omconfig system alertaction event=processorwarn execappath="%ScriptPath% processor warning" Omconfig system alertaction event=hardwarelogfull execappath="%ScriptPath% hardware log full" Omconfig system alertaction event=hardwarelogwarn execappath="%ScriptPath% hardware log warning" Omconfig system alertaction event=memfail execappath="%ScriptPath% memory failure" Omconfig system alertaction event=memprefail execappath="%ScriptPath% memory pre-failure" Omconfig system alertaction event=redunlost execappath="%ScriptPath% redundancy lost" Omconfig system alertaction event=redundegrad execappath="%ScriptPath% redundancy degraded" Omconfig system alertaction event=intrusion execappath="%ScriptPath% chassis intrusion" Omconfig system alertaction event=voltfail execappath="%ScriptPath% voltage failure" Omconfig system alertaction event=voltwarn execappath="%ScriptPath% voltage warning" Omconfig system alertaction event=fanfail execappath="%ScriptPath% fan speed failure" Omconfig system alertaction event=fanwarn execappath="%ScriptPath% fan speed warning" Omconfig system alertaction event=tempfail execappath="%ScriptPath% temperature failure"
Omconfig system alertaction event=tempwarn execappath="%ScriptPath% temperature warning" Omconfig system alertaction event=powersupplywarn execappath="%ScriptPath% power supply warning" Omconfig system alertaction event=powersupply execappath="%ScriptPath% power supply failure" To confirm you want to continue, enter YES (case sensitive).ĮCHO Configuring alerts to use: %ScriptPath% REM add the following to the end of the line below:īLAT %Log% -to %ToEmail% -subject "%ComputerName% Hardware Alert"ĮCHO This will replace all the current Dell Server Assistant alerts with a callĮCHO to this script. REM If your email server requires autentication to relay, REM Email address(es) to send alerts to (comma separated) REM If your email server requires authentication to relay, see comments below. REM Blat : (command line emailer) is configured and working on the current system. REM /SETUP Configure Dell Server Assistant to use this script for alerts. REM This script should _not_ be in a path which contains spaces. REM Sends email alerts when Dell hardware warnings are triggered. As part of the setup, a sample alert is triggered so you can make sure the emails are reaching the intended recipients. To setup the Server Assistant alerts to use the script, just run the setup:Ĭonfirm you want to use this script as your alert action and you are all set. If your server requires authentication to relay, you will have to add these parameters to the Blat command as documented in the script. Edit the script to include the email address(es) to notify (the ‘ToEmail’ variable). Once you have these requirements in place, you are ready to use the script.
For the most part this command is all you need to run, but if your server has a special configuration (alternate port, etc.), you can see the full install options on Blat’s website. Then from the command line, run:īlat -install my. the mail server and from email address appropriately.
To configure Blat, just download the binary files and extract them (3 total: blat.exe, blat.dll, blat.lib) to a location in your system’s PATH variable, such as your Windowssystem32 folder. This software, if not provided with your system, is downloadable through Dell’s support site.Īdditionally, you will need to have Blat, a command line emailer, configured on your system. Of course, you will need to have Dell OpenManage Server Assistant installed. When the script runs, it simply generates an email (by using the the Blat tool) with the computer name, date, time and alert triggered.Īll alerts use the email notification script: There is a setup command which sets each alert to “Execute application” with the application being the script itself.