How to Setup Email Notifications on Dell OpenManage
https://shuvocse5.blogspot.com/2014/07/how-to-setup-email-notifications-on.html
All Dell
servers come with Dell OpenManage Server Administrator software which has the ability
to monitor and display system level indicators. Additionally, through the Alert
Management tab you can configure actions to execute whenever an alert is
triggered. Unfortunately there is no vehicle for applying uniform notifications
to all events, so we are going to provide a script which configures all the
alert actions to send an email notifying you of the respective event.
How it
Works
The script is very simple. When an event is triggered, Dell OpenManage executes the specific application, then the application connects to an external SMTP Server, and send the email with the message of the event.
The script is very simple. When an event is triggered, Dell OpenManage executes the specific application, then the application connects to an external SMTP Server, and send the email with the message of the event.
Requirements:
-Dell Server with OpenManage Installed
-Microsoft .Net Frameworks v2.0 (Download Here)
-DellSMTPNotify Application (Download Here)
-DellSMTPNotify Alert List (Download Here)
-Dell Server with OpenManage Installed
-Microsoft .Net Frameworks v2.0 (Download Here)
-DellSMTPNotify Application (Download Here)
-DellSMTPNotify Alert List (Download Here)
Step 1:
Extract files to C:\DellSMTPNotify
Edit Config.xml and configure DefaultEventSettings to your SMTP server.
Extract files to C:\DellSMTPNotify
Edit Config.xml and configure DefaultEventSettings to your SMTP server.
Now we
are going to test the SMTP settings by running the script. Open command prompt
and navigate to C:\DellSMTPNotify. Then type the following: “DellSMTPNotify.exe
1“.
DellSMTPNotify
associates numbers to messages. Looking at config.xml, you can customize the
messages. In this case, “1″ would send message “Message from server: Watchdog
ASR”.
You
should have received an email alert. If you didn’t receive an email, check your
SMTP settings in config.xml.
Note: Sometimes emails are delivered
to junk box.
If you
didn’t recieve an email, re-check your config.xml SMTP settings.
Step 2:
Now that we have our DellSMTPNotify.exe working properly with our SMTP settings. We can now get it to work with Dell OpenManage.
Now that we have our DellSMTPNotify.exe working properly with our SMTP settings. We can now get it to work with Dell OpenManage.
Login to
Dell OpenManage and navigate to Alert Management
Under
Alert Actions, select Watchdog ASR.
Under
“Set Alert Actions for Watchdog ASR”, enable “Execute application.” In the
whitebox, place the Abolute patch to DellSMTPNotify.exe with code to Watchdog
ASR. The code for Watchdog ASR is 1, and would place the following “D:\DellSMTPNotify.exe
1“.
Now we
have setup email alert for Watchdog ASR. We will have to do the same thing for
the rest of the alerts.
Step 3:
Once we have setup the email alerts, now we have test the configuration. We want to get Dell OpenMange to trigger an alert and so would execute our application. The safest test we can do on a production server is thermal settings.
Once we have setup the email alerts, now we have test the configuration. We want to get Dell OpenMange to trigger an alert and so would execute our application. The safest test we can do on a production server is thermal settings.
First we
have to ensure that Thermal Shutdown is disabled. Under Shutdown -> Thermal
Shutdown, set “Thermal Protection Shutdown Severity” to disabled.
From left
panel, navigate to System -> Main System Chassis -> Temperatures. Select
probe name “System Board Ambient Temp”.
From
here, we want to get OpenMange trigger an event. One way is to force the
Minimium Warning Threshold to be higher that the current reading. To do this,
we click on “Set to Value” and change Minimium Warning Threshold to 1 degree
higher than current reading. In our case, our current reading is 24.0 C, and so
we place value of 25.0 C for Minimium Warning Threshold.
You
should have recieved an email alert from OpenManage in regards
to Temperature Probe Warning. This proofs that email alert is setup on
Dell OpenManage. You can now change the Minimium Warning Threshold back to
default.