• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1110
  • Last Modified:

DELL Server Administrator email alerts

I just installed DELL Server Administrator on my PowerEdge 2950 - I see that you can set an application to be executed when there are warnings, errors, etc.  What is the best way to go about having the server send the alerts to my email?
0
polaris101
Asked:
polaris101
  • 4
  • 2
1 Solution
 
Jay_Jay70Commented:
Under your preference, general settings, You can setup email servers - internal if you have them or external if you route through external SMTP pipes...
How you want it setup is completely up to you....you have a little control over events with server admin so decide what you want, and configure it that way, there is no best way for this, it depends on how much you want to see
0
 
polaris101Author Commented:
Hi Jay_Jay - I set up the SMTP settings and tested successfully.  However - It looks like I need a batch file to be executed because it's asking for an 'absolute path to the application'.  Ideas?  Thanks
0
 
Jay_Jay70Commented:
I see I see, i am used to the blade centre Management which has inbuilt email notif...my bad...
you could use a small vbscript to mail you
http://www.paulsadowski.com/WSH/cdo.htm
0
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
polaris101Author Commented:
I created the vbscript file, but no luck.  I'm not getting any error messages when i run the script...but i'm not getting email either.   By the way...i'm running Windows Server 2008 Standard...64bit.  I double checked the email settings in the script file and they are correct as well.  any other ideas?
0
 
Jay_Jay70Commented:
I would suggest trying another email script...I am not great at VB, but this is the sub that we use to send mail....
 

Option Explicit
'****************************************************************
'Email Constants
'****************************************************************
Const SUPPORT_EMAIL = "Email Destination"  
Const FROM_ADD = "Email Source"      
Const SMTP_SERVER = "SMTP Server IP"

Sub SendEmail(strMessage)
    Dim objMessage
    Set objMessage = CreateObject("CDO.Message")
    objMessage.Subject = strMessage
    objMessage.From = FROM_ADD
    objMessage.To = SUPPORT_EMAIL
    objMessage.TextBody = strMessage
     
    'Normally you will only change the server name or IP.
    objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
    'Name or IP of Remote SMTP Server
    objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = SMTP_SERVER
    'Server port (typically 25)
    objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
    objMessage.Configuration.Fields.Update
 objMessage.Send
    Set objMessage = nothing
End Sub
 
You will need to add your own code for what you want sent :) i do a process check so its a little different
0
 
Jay_Jay70Commented:
Happy to send you the script  as a whole
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now