NAME

apastat.pl - Outputs current status of apache to a readable format for rrdtool


SYNOPSIS

- Modified so that it uses perl more extensively instead of running lynx. Also modified so that it uses a wildcard for Busy and Idle servers instead of having to hit the server twice, we can do it all in one swell swoop. (Patrick Bulteel)


- Changed the output so snmp can use it (Rob Lensen)


DEPENDENCIES

Make sure you have the following in your httpd.conf:

 LoadModule status_module      libexec/apache/mod_status.so
 AddModule mod_status.c (only for Apache 1.X)
 ExtendedStatus On
 <Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from localhost
 </Location>


AUTHORS

  Taken from ftp://ftp.ora.com/published/oreilly/nutshell/web-client/ 
  Modified by: Patrick Bulteel 
  And : Rob Lensen


SEE ALSO

  http://www.tnpi.biz/internet/manage/rrdutil/