[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Need advice for login notification via email

Posted on 2008-10-16
1
Medium Priority
?
222 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

Technology Partners: 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…
Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

656 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