#!/bin/bash
# GPL, Fri Feb 18 2005 Oden Eriksson <oeriksson@mandrakesoft.com>
# Simple script to utilize apache-tools, serves as an example.
# It requires mod_status and "ExtendedStatus On".

# Edit these files (and the file you are reading) to suit your needs:
# /etc/httpd/webapps.d/apache-tools.conf
# /var/www/html/admin/apache-monitor/index.html

# poll stats
/usr/bin/apache-monitor /var/lib/apache-monitor/localhost http://127.0.0.1/server-status/

# make stats
/usr/bin/apache-monitor-graph /var/lib/apache-monitor/localhost /var/www/html/admin/apache-monitor/ 3600
