Monitoring Apache Server

Here are the prerequisites for monitoring Apache server with the checkpoints:

  • Apache-Data-Rate
  • Apache-Rate Requests
  • Apache-Busy-Idle-Workers

On the Apache server activate the mod-status with the command:

 

a2enmod status

 

Restart or reload Apache as necessary.

 

To limit access to information in your domain (eg example.com), add the following code to the Apache configuration file httpd.conf or apache2.conf:

 

<Location / server-status>

SetHandler server-status

 

Order Deny, Allow

Deny from all

Allow from .example.com

</ Location>

You can now access your Apache usage statistics here.

Resources: http://httpd.apache.org/docs/2.2/mod/mod_status.html

Facebook
Google+
Google+
http://servicenav.coservit.com/documentation/monitoring-apache-server/
Youtube
Youtube
LinkedIn