The Apache module allows you to track and monitor Apache CPU usage on your server. It does this by parsing the extended Apache server-status data and recording this information for display in the LoadAvg charting module as seen below.

apache_module

Apache Load Settings

You can configure the Apache module via is settings on the module settings page. There you can set a few variables to help you with the display of your data as seen below.

apache_settings


Overload : Not currently used
Serverstatus : the location of your servers server-status page
Display Limiting : Not currently used

The main item here is the Serverstatus value. This tells loadavg where to find your servers server-status page so it can get and parse Apache metrics. It should be something like this:

http://localhost/server-status

Setting up Apache server-status

LoadAvg uses the extended server status data, so this will also need to be activated. For instructions on how to set up Apache server-status on CentOS or Fedora you can follow this link

http://www.loadavg.com/2014/11/enabling-apache-extended-status-on-centos-servers/

For instructions on how to set up Apache server-status on Ubuntu servers you can follow this link

http://articles.slicehost.com/2010/3/26/enabling-and-using-apache-s-mod_status-on-ubuntu