Solved

Need advice for login notification via email

Posted on 2008-10-16
1
213 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
1 Comment
 
LVL 1

Accepted Solution

by:
daravuth earned 50 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
Learn about cloud computing and its benefits for small business owners.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 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