PHP Classes

File: readme.txt

Recommend this page to a friend!
  Classes of Axel Hahn  >  Pimped Apache Status  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: Pimped Apache Status
Display the requests handled by an Apache server
Author: By
Last change:
Date: 7 years ago
Size: 2,555 bytes


Class file image Download

  Axel pimped the Apache-status

  GNU GPL v 3.0

  The default apache status shows you information about current Apache 
  activity. But these server-status pages are difficult to read.

  The pimped Apache status makes the Apache server status readable,
  sortable and searchable. 
  The pimped Apache status can merge the status of several servers
  that opens the possibility to identify the troubleshooter in a
  load balanced website much more easily. 
  Btw: I use the script to fetch the status from 8 servers.

  The output uses jQuery and the plugin datatable to search and
  sort the data.

  GNU GPL v 3.0

  * On the system you want to install the pimped Apache status:
    - any webserver with php 5 (with curl; no database is needed)
  * On all webservers you want to monitor:
    - apache 2.x
    - installed module mod_status and ExtendedStatus On
    - permission for the monitoring server to request the the 
      alias /server-status (see below)

  1. Extract the files somewhere below webroot on your webserver. You 
     can put to any subdirectory. It is not a must to have it in the 
     -- OR --
     checkout sources with svn client:
     cd [webroot-directory]
     svn checkout apachestatus
  2. Allow your server to access the server-status page on the systems 
     you want to monitor
     <Location /server-status> 
       SetHandler server-status 
       order deny, allow 
       allow from
       allow from # enter ip of your monitoring system
       deny from all 
  3. Open http://localhost/apachestatus/ in your webbrowser.
  4. In ./conf/ directory: open config_user.php and setup the systems you want 
     to monitor. See config_default.php to see other thing you could override

  * change or add language: see readme in subdirectory ./lang/
  * change theme: 
    - make copy ./templates/default/
    - make changes in style.css and out_html.php in your copy
    - set skin in ./conf/config_user.php:
      $aUserCfg = array(
        'skin' => 'name_of_subdir',

  If you have a language or a theme to share then send it to me.

For more information send a message to info at phpclasses dot org.