Solved

DELL Server Administrator email alerts

Posted on 2009-07-12
7
1,095 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
  • 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration, of the HP EVA 4400 SAN Storage. The name , IP and the WWN ID’s used here are not the real ones. ABOUT THE STORAGE For most of you reading this, you …
Usually shares are where we want them for our users and we tend to take them for granted. There are times, however, when those shares may disappear causing difficulty for your users. One of the first things to try is searching for files that shou…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

856 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