application which can pop up like gtalk when some one accesses my server

Aart Koelewijn aart at mtack.xs4all.nl
Mon Jan 31 20:43:16 UTC 2011


On Mon, 31 Jan 2011 22:28:53 +0530, Tapas Mishra wrote:

> I have a Ubuntu server with Public IP on which I have a few websites and
> SSH accounts.I want to know if there is any application/daemon which I
> can install so that when ever some one does an SSH connection to my
> server I get a pop up on my laptop similar to  gtalk's popup message
> which just gives me some one pop up with a message that user so and so
> loged in to server.Or some other application which can also tell me when
> ever http requests are made to my server so that I can be aware or if
> some one tries a DOS (in this case requests might be difficult to
> detect) but I get a pop up which says that so and so services is trying
> to access your server from outside.Other than checking log files is
> there any way for these things which I asked?

You can run multitail on one or more logfiles and multitail has the 
possibility to start a program when an expression pops-up in a logfile. I 
f.i. start xmessage with an IP number in it when that IP shows in the 
logfiles from apache. This seems to be rather close to what you want to 
do. You could off course also run a tail -f on a logfile and pipe the 
result to a sed expression which in turn can trigger a program.

Aart





More information about the ubuntu-users mailing list