Apache server-status – better looking

2014-08-18 2 min read Linux

Apache provides a module to see the server-status. However the page is not too good looking. So, if you want to see a better looking information page, then you can download :

http://sourceforge.net/projects/pimpapachestat/

More details from the readme file of the project:

 

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)

And tehn for installation:

Continue reading

Apache server stats with small and useful bash script.

2013-11-29 3 min read Bash Linux Uncategorized Wordpress

Just copy this script to your web-server cgi-bin directory and enjoy.

The script with show the common errors like 404 Error, Internal Server Error and others. It will show the User agent distribution using simple commands like grep, uniq, awk and so on.

You would need to change the tfile – which is temporary file and also the access.log path in the next line.

Just re-direct the output to some file with html extenstion. You could even put this in the cron which re-directs the output to some html in server document root.

Continue reading