Solved

DELL Server Administrator email alerts

Posted on 2009-07-12
7
1,098 Views
Last Modified: 2012-05-07
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
Comment
Question by:polaris101
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 48

Expert Comment

by:Jay_Jay70
ID: 24836868
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
 

Author Comment

by:polaris101
ID: 24839206
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
 
LVL 48

Accepted Solution

by:
Jay_Jay70 earned 125 total points
ID: 24845189
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
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 

Author Comment

by:polaris101
ID: 24845409
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
 
LVL 48

Expert Comment

by:Jay_Jay70
ID: 24846228
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
 
LVL 48

Expert Comment

by:Jay_Jay70
ID: 24846232
Happy to send you the script  as a whole
0
 

Expert Comment

by:mwinick
ID: 28712072
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DNS forwarders "unable to resolve" 1 171
Automatic Windows Service stops by itself 6 109
Master DC completely died 15 75
CTIOS error on Windows 10 3 62
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question