Question:
Is there any program available that will notify me when a host visits a document on my web server?
2008-11-16 17:50:25 UTC
either by making a sound, or popping up some sort of notification on my screen
Three answers:
Swibs
2008-11-16 18:53:05 UTC
There's really no point. File servers are stateless by design. A person cannot be "present" on a server. It's not like a phone call, where someone can call up and be on the line. Stateless servers are only connected when performing a transaction. They connect, transfer whatever needs to be transferred, and disconnect... boom-boom-boom.



The only time the server is active is when it's responding to a request. Therefore, what's the point of giving you a notification? Why would you need a notification? You couldn't take any action on anything, because whatever was done happened instantaneously.



Receiving a notification after-the-fact only serves to inform you that something has happened. That's what logs are for. Logs keep a record of previous activity. This is more suited for purpose.



Instant notifications serve to provide time-critical messages, hence the "instant" delivery. Usually this is to signal prompt action from the user. Server actions would have to wait in a "pending" state while the user deals with the notification. Since file servers are stateless, there is no "pending" state for the server action to "wait" in while the user responds to the notification. This stateless design renders instant notifications useless.



Either read the server logs, or get some sort of log management utility. Getting instant notification on server activity will NOT happen unless you find some way to monitor the server logs in real time, which is ridiculously inefficient.



You're kinda out of options.
thepcdude
2008-11-16 18:03:10 UTC
Peer guardian has nothing to do with this. That just blocks IPs related to anti P2P. What you need, is some application that will sort through your Apache logs and trip an event when that one line is shown. I don't know of any, and I think it might be tricky to find any, so I guess you have to code one yourself. I should try my hand at it....
EddieT20
2008-11-16 17:59:45 UTC
I believe peer guardian logs incoming traffic someone correct me if I'm wrong, tray icon flashes


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...