Solved

DELL Server Administrator email alerts

Posted on 2009-07-12
7
1,093 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
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.

 

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

Suggested Solutions

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…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …

864 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now