For Apache, I want to monitor
- Busy workers
- Idle workers
- Queued requests
Monitoring would be done throughout the day, taking a sample every min., in a graphical manner.
If such a tool is not available for free, then any script which can dump this data in a tabular format and I can import that data in CSV format would be sufficient.
Is there any tool for doing that ?
Best Answer
For the busy and idle workers, you can parse it from the status page, something like this:
For the waiting requests, you can calculate the numbers of concurrent connections and subtract to
MaxClients
directive:From this result, you can plot a graph with any monitoring tools you want: gmetric (Ganglia), PNP4Nagios, ...