To get this demo working, you will need to serve this page from a local webserver and serve the folder that contains your RRD files.

This demo is designed to work with the RRD files generated by Collectd.

Debian / Ubuntu Quick Start

# Install and configure collectd (enable the rrd plugin)
$ aptitude install collectd

# Create a project folder and check out the code
$ mkdir ~/Projects
$ cd ~/Projects
$ bzr branch lp:~richardw/+junk/rrd2flot
$ cd rrd2flot

# Link to the collectd rrd folder
$ ln -s /var/lib/collectd/rrd/localhost data

# Start a local webserver
$ aptitude install twisted
$ twistd -n web --port 8080 --path .