PHP Classes
elePHPant
Icontem

Pimped Apache Status: Display the requests handled by an Apache server

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (95)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2018-04-27 (4 months ago) RSS 2.0 feedNot enough user ratingsTotal: 199 All time: 8,134 This week: 406Up
Version License PHP version Categories
pimped-apache-status 1.28GNU General Publi...5.0HTTP, PHP 5, System information
Description Author

This package can be used to display the requests handled by an Apache web server.

It can parse the output of the regular Apache server status page to extract statistics of the Apache server resources usage as well details of the HTTP requests being currently handled.

The package renders the information in a way that is more readable than the regular server status page and allows to search and sort the listings.

It can merge the status of several servers that opens the possibility to identify a troubleshooter even on a load balanced Web site.

The Web based tool offers a multi-language, skinnable interface with a built-in updater.

It can also have several views, like for instance most requested files, domains, methods, most active IP, as well can export all views as JSON, XML or CSV.

Innovation Award
PHP Programming Innovation award nominee
July 2015
Number 7
The Apache Web server comes with a module that can show the status of the Web server instance and the requests that it is serving.

However, the way that module presents the information is not very easy to understand and it is hard to figure certain types of information that would be helpful to determine the "health" of the Web server.

This class provides an alternative user interface to view the status of one or more Apache Web servers in a more readable way with the possibility to search and sort several types of listings.

Manuel Lemos
  Performance   Level  
Innovation award
Innovation award
Nominee: 2x

Details
----------------------------------------------------------------------

  Axel pimped the Apache-status

  http://www.axel-hahn.de/apachestatus.php
  http://sourceforge.net/projects/pimpapachestat/

  GNU GPL v 3.0
----------------------------------------------------------------------


ABOUT
  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.

  
LICENSE
  GNU GPL v 3.0


REQUIREMENTS
  * 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)


INSTALL
  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 
     webroot.
     -- OR --
     checkout sources with svn client:
     cd [webroot-directory]
     svn checkout http://svn.code.sf.net/p/pimpapachestat/code/trunk 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 127.0.0.1
       allow from 192.168.123.4 # enter ip of your monitoring system
       deny from all 
     </Location> 
  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


CUSTOMIZATION
  * 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.


----------------------------------------------------------------------
Screenshots  
  • startpage.png
  • most-often-processed-requests.png
  • history-popup.png
  • export_table.png
  Files folder image Files  
File Role Description
Files folder imageadmin (1 file)
Files folder imageclasses (15 files)
Files folder imageconfig (6 files)
Files folder imagedocs (4 files)
Files folder imageimages (5 files)
Files folder imagejavascript (3 files, 3 directories)
Files folder imagelang (5 files)
Files folder imagetemplates (4 directories)
Files folder imagetmp (1 file)
Files folder imageviews (9 files, 1 directory)
Accessible without login Plain text file history.txt Data Documentation
Accessible without login Plain text file inc_config.php Example Example script
Accessible without login Plain text file inc_functions.php Aux. Sample output
Accessible without login Plain text file inc_menu.php Aux. Auxiliary script
Accessible without login Plain text file inc_pagetemplate.php Example Example script
Accessible without login Plain text file index.php Example Sample output
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file readme.md Doc. Documentation
Accessible without login Plain text file readme.txt Doc. Documentation
Accessible without login Plain text file upgrade.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 65%
Total:199
This week:0
All time:8,134
This week:406Up