Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Email notification after server 2008 reboot

Posted on 2013-06-26
6
Medium Priority
?
650 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 80

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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 80

Accepted Solution

by:
arnold earned 1500 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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
Know what services you can and cannot, should and should not combine on your server.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

609 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