Solved

Email notification after server 2008 reboot

Posted on 2013-06-26
6
599 Views
Last Modified: 2013-08-21
I haven't dug too deep because I'm on the fast track to get this in place...  I want to be notified via email when the server reboots.   Anyone have suggestions.  I would like to do this native vs third-party software (unless it's free of course).  

Thanks in advance for your input.
0
Comment
Question by:aviator21114
[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
6 Comments
 
LVL 78

Expert Comment

by:arnold
ID: 39277877
What do you have installed n the server IIS SMTP service?
On bootup, you can copy an email file into the pickup directory.
Enabling SNMP and using evntwin you can configure the mappings a specific bootup event to snmptrap ( you would need to have an snmptrapd server from which you would generate the notification)

You can use blat which is a free command line mailer that you can use to transmit a message through a mail server external to the system on which it runs.

http://sourceforge.net/projects/blat/
0
 
LVL 2

Expert Comment

by:titan123
ID: 39278024
Are you concern about the whole Server 2008 or just the file server rebooting...???
0
 

Author Comment

by:aviator21114
ID: 39278053
I want to know if the server has rebooted...   on server start-up... ie.  someone ctl-alt-del or issued restart or when the server is starting after a power reset..
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 78

Accepted Solution

by:
arnold earned 500 total points
ID: 39278349
If you have SMTP service (IIS 6.0 component) installed, you can have a computer GPO startup script that copies a prepared email


From: <emailaddress>
To: <recipientaddress>
Subject: server A rebooted

The server has booted up.


you store this sample anywhere you want on the system
a startup script
@echo off
copy c:\mailmessage c:\intepub\mailroot\pickup\

as soon as a message is dropped into the pickup directory, if/when the service for IIS/SMTP starts it will send the message out.
The date on the  email is the time when the message was picked up and could be a few seconds/minutes after the system booted up.

Test it first by copying a sample message like the one above into the pickup folder within the mailroot.

Using external tools to monitor the system like nagios/zenos, etc. would eliminate the issue if the network is lost to the server you will not get a notification until the network connection is restored.  Using an external monitoring process, you will be alerted when the system is unreachable.
0
 

Author Comment

by:aviator21114
ID: 39278554
Thank you... I will digest this for consideration... I very much appreciate your input.
0
 
LVL 25

Expert Comment

by:Lionel MM
ID: 39281129
You can add a script to the Group Policy settings so that each time a user logs on and/or each time the server starts up that it will run and send you an email using blat (free as mentioned above). Good thing about this is that you can apply it to all systems or just the servers.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

730 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