?
Solved

Need advice for login notification via email

Posted on 2008-10-16
1
Medium Priority
?
219 Views
Last Modified: 2012-05-05
I am looking for advice on how to be notified when someone logs in  or unlocks our servers for any reason.  I want to be notified via text message and email.
0
Comment
Question by:gljelliott
[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
1 Comment
 
LVL 1

Accepted Solution

by:
daravuth earned 200 total points
ID: 22732489
Hi,

I would use a logon script to send mail with an smtp client to your mail server. Here how to do it with blat.exe

To send to text message, you can subscribe to online service as www.lesms.com They allow sending sms by sending text to an email address. In that case you must add extra info in your cmd file like recipient phone number etc... In that case you can TYPE and redirect to blat inside of using echo

blat.exe can be found here and is free: http://www.blat.net/


@echo off
if %COMPUTERNAME% == SERVERTOWATCH (
echo %USERNAME% logged in %COMPUTERNAME% at %DATE% %TIME% | blat -s "login notificaton from %COMPUTERNAME%" -to " recipient1@yourdomain.com,recipient2@yourdomain.com -i sender@anyaddress.com -server yourmailserver
)

Open in new window

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

770 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