Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

This branch is 2 commits ahead, 41 commits behind vvuksan:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.



This is a puppet recipe that will install Graphite and Ganglia on the same machine.


To run it install puppet from then run it against the graphite recipe ie.

puppet graphite.pp

This will invoke puppet in standalone mode. You can run it even if you otherwise uses puppet on this machine.

Manual steps

Apache Config

Manual steps that need to be run after puppet finishes are copy the Graphite Virtual Host example config to Apache configuration directory ie. on Ubuntu you could do

  cp /tmp/graphite-web-0.9.6/examples/example-graphite-vhost.conf /etc/apache2/sites-enabled/

or on Centos

  cp /tmp/graphite-web-0.9.6/examples/example-graphite-vhost.conf /etc/httpd/conf.d/

You also need to add following lines to it instructing Apache not to use mod_python for Ganglia web UI e.g.

    Alias /ganglia /var/www/html/ganglia
    <Location "/ganglia/">
            SetHandler None

Restart Apache when you are done.

Django init

Graphite uses Django and you need to initialize it. Go to

cd /opt/graphite/webapp/graphite 

then type

Ubuntu: sudo -u www-data python syncdb
CentOS: sudo -u apache python syncdb

Follow the directions. You will be asked to create Graphite admin user.

Ganglia Web UI

You will need to copy contents of the modified Ganglia web UI from here

Copy it to e.g. /var/www/html/ganglia. To enable Graphite in conf.php you will need to change

  $use_graphite = "no";


  $use_graphite = "yes";
Something went wrong with that request. Please try again.