Wednesday, June 20, 2012

Installing Graphite on Ubuntu 12.04

Install dependencies: Install whisper: Install and configure Carbon (data aggregator) Install Graphite (webapp): At the moment, uncomment the following line Configure Apache:

Edit the following file:/etc/apache2/sites-available/default
Make sure that the configuration for WSGISocketPrefix is set as follows:

Otherwise, you will get the following error:
[Tue Jun 19 13:21:28 2012] [error] [client 192.168.0.112] (2)No such file or directory: mod_wsgi (pid=19506): Unable to connect to WSGI daemon process 'graphite' on '/etc/apache2/run/wsgi.19365.1.1.sock' after multiple attempts.
Create initial database: Create the admin for graphite: Start carbon (data aggregator)

Check the log file for any error:
/opt/graphite$ find . -name '*.log' | xargs tail -F

To Feed the data do the following:

Go into the server localhost in your prefer browser and you should see graphite site.