Overview
--------

collectd42html.pl is a tool that generates graphs and an overview
html file from statistics collected by the collectd-daemon version 4. 
It is based on collectd2html.pl from the collectd contributions section
and was originally written by Vincent Stehlé. See the perl script 
comment for more details.



Configuration
-------------

Open 'collectd42html.pl' and adjust the following settings

  - $DIR:	
  		The base dir where collectd places the rrd files.
  - $HOST:
  		The host for which the files are generated. It is used for the html page
		title and for the location of the rrd files. Make sure that these files
		are still found if you change this variable. It is initialized with the 
		systems hostname by default.
  - $OUTPUT_DIR: 
  		The base dir where the generated html and image files will be placed.
  - $OUTPUT_HTMLFILE:
  		Name of the generated html overview file relative to $OUTPUT_DIR.
  - $OUTPUT_IMAGEDIR:
  		Name of the directory where the generated graph images are placed 
		relative to $OUTPUT_DIR.



Installation
------------

Add this script as a cronjob to your favoured cron daemon.



Important
---------

This script works only for collectd version 4. If you use collectd versions 3
use the collectd2html script from the contibutions section.

Make sure that you have the following line uncommented in your collectd.conf
otherwise no rrd files will be generated:
LoadPlugin rrdtool


