4

How can I monitor Apache and get information about users who are connected to Apache? There's a server in my office. I want to know how many people in the office are connected to the it, using my web application, and what their IPs are.

EDIT:
I need to know this information in real time.

1
  • There are a number of ways of solving this problem, but because HTTP is a stateless protocol its probably not easy. If you wrote the application, why not simply log the details to an SQL database and query that ?
    – davidgo
    Commented Dec 26, 2013 at 5:02

4 Answers 4

6

You can configure the server-status module for realtime information

2

It sounds like you need a log analyzer.

The most commonly used one is Webalizer which examines your web server's log files, collates the data, and gives you a new set of web pages containing pretty graphs and charts of visitors and usage.

2
  • does it monitor realtime?
    – user1400
    Commented Mar 14, 2011 at 10:57
  • It parses the logs when you request it to parse the logs - be that once a day, once an hour, or repeatedly with no delay between passes. It all depends on how you set it up.
    – Majenko
    Commented Mar 14, 2011 at 11:02
0

If its a Linux Apache server you can also try Apachetail which runs on a Windows desktop and parses/analyses the logs in real-time.

0

I would second jamespo's answer. You can configure the server-status module. We have been using the same to monitor Apache web-server in our product AppPerfect Agentless Monitor. We are able to monitor the data related to busy/idle workers, request rate, total accesses, traffic and CPU load.

1
  • 1
    This really sounds more like a comment, especially as you are saying that you agree with another answer. You do not yet have the necessary reputation to post comments everywhere though. I recommend that you stick around, interact with SU in a positive way for a bit, and you'll quickly work up the necessary reputation to more fully interact with the site. Commented Mar 20, 2017 at 16:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .