Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1107
  • 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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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