2008:ApacheLogNotifier: Difference between revisions

From Marks Wiki
Jump to navigation Jump to search
New page: I plan to create a system tray notifier that monitors the tail of the apache log and creates a notification each time someone is visiting my site. It would be nice to create some sort of r...
 
No edit summary
Line 1: Line 1:
I plan to create a system tray notifier that monitors the tail of the apache log and creates a notification each time someone is visiting my site. It would be nice to create some sort of real-time monitor. Perhaps I need to create an apache module?
==Apache Log Notifier==
*SVN: https://kram.no-ip.com/svn/projects/ApacheLogNotifier/
[[Image:ApacheLogNotification.png|A notification of google visiting my site!]]
 
Using java and ubuntus NotifyOSD via the notification demon, I have created a small program to poll the tail of my apache log and notify me whenever there is interesting activity. At the moment I ignoring localhost and bots, so that I can see if an actual person has just come to visit my website. There is a lot of work and refactoring to be done. My initial prototype is just a rushed couple of hours work (thanks to reusing the tale code from //http://www.informit.com/guides/content.aspx?g=java&seqNum=226).

Revision as of 01:32, 14 June 2009

Apache Log Notifier

A notification of google visiting my site!

Using java and ubuntus NotifyOSD via the notification demon, I have created a small program to poll the tail of my apache log and notify me whenever there is interesting activity. At the moment I ignoring localhost and bots, so that I can see if an actual person has just come to visit my website. There is a lot of work and refactoring to be done. My initial prototype is just a rushed couple of hours work (thanks to reusing the tale code from //http://www.informit.com/guides/content.aspx?g=java&seqNum=226).