Solved

Email notification after server 2008 reboot

Posted on 2013-06-26
6
555 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
6 Comments
 
LVL 76

Expert Comment

by:arnold
Comment Utility
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
Comment Utility
Are you concern about the whole Server 2008 or just the file server rebooting...???
0
 

Author Comment

by:aviator21114
Comment Utility
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 76

Accepted Solution

by:
arnold earned 500 total points
Comment Utility
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
Comment Utility
Thank you... I will digest this for consideration... I very much appreciate your input.
0
 
LVL 24

Expert Comment

by:lionelmm
Comment Utility
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

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.

Join & Write a Comment

Know what services you can and cannot, should and should not combine on your server.
OfficeMate Freezes on login or does not load after login credentials are input.
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 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…

763 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

7 Experts available now in Live!

Get 1:1 Help Now