Portal
Language
 
Information
Article ID37
Created On2/24/2010
Modified2/24/2010
Share With Others
Apache Monitoring

Apache Monitoring

Apache servers can be monitored by loading the Apache Module mod_status, then querying the server using url: http://your.server.name/server-status?auto

 An example to activate server-status on an Apache server to be monitored by a server with name: moniton.server.name is by adding the following to the Apache's httpd.conf file:

ExtendedStatus On
<Location /server-status>
SetHandler server-status
    Order Deny,Allow
    Deny from all
    Allow from moniton.server.name
</Location>

When activated and queried, the following information is available:

Total Accesses A total number of accesses served
Total kBytes A total number of byte count served
CPULoad The current percentage CPU used in total by Apache
Uptime The time the server has been running for
ReqPerSec Averages giving the number of requests per second
BytesPerSec Averages giving the number of bytes served per second
BytesPerReq Averages giving the number of bytes per request
BusyWorkers The number of worker serving requests
IdleWorkers The number of idle worker

Reference