Monitor Web Connections to an Apache Server
I run quite a few different servers and recently just launched an AWS Ec2 instance. Unfortunately the Ec2 started to hang and become unresponsive even though the server was online the sites running on the site were not being accurately served. I could see the server cpu and network graphs using Cloudwatch but I needed to see what servers were getting requested and what was happening. The Cloudwatch metrics just weren’t as helpful as I needed. Running a few bash commands like top couldn’t really tell me what was going on like I needed. I searched for information and luckily came upon a good solution: mod_status an Apache module that will give you all kinds of information about the traffic being served by your server.
This awesome module will provide your server with html page that will display all kinds of information about the traffic and connections hitting your server.