Running Graphite on Windows
December 9, 2012, with 6 commentsAs mentioned in my previous post, I discovered the Graphite monitoring system and ported it to Windows. That wasn’t as difficult as I initially thought so I’ll explain the steps in detail in this and more upcoming posts so that everyone interested can follow the guide easily.
I got good hints and help from Ron Cordell from Relay Health who previously ported Graphite to Windows in a similar fashion. Thanks a lot, Ron!
Prerequisites for running Graphite are:
- install Python (in my case: latest release of version 2.7)
- install pypi/ setuptools (download here)
I forked the official carbon from github and inserted the changes I made. You find the fork here:
https://github.com/stephanstapel/carbon
There are some steps that you need to perform in order to successfully run Graphite on Windows:
- Download Carbon (here)
- Download Whisper (here)
- Download Graphite-web (here)
- Install Whisper using setup.py install
It goes into the Python libs/site-packages directory - Change the path in Carbon’s setup.cfg to a Windows path. In my case:
prefix = d:\graphite - Run setup.py install
- Change local data directory setting: open conf/carbon.conf and change LOCAL_DATA_DIR. Alternatively, you can set following environment variables as specified in carbon.conf file:
- GRAPHITE_ROOT
- GRAPHITE_CONF_DIR
- GRAPHITE_STORAGE_DIR
After committing my changes into the branch, I issued a pull request and hope that it will be approved.
If you find anything not to be working, please let me know.
The second article will cover the Graphite-webapp. This app runs on Windows without any code change but requires some additional packages to be installed.
Aktualisiert am February 14, 2013

Carlos schrieb am
February 14, 2013 um 10:37 amHi,
I’m trying to install Graphite into Windows Server 2012. I have downloaded and installed Python version 3.3.0, but when you say “install pypi (download here)”, the link sends to me to a page with a big list of packages, and I don’t know which packages I should get. Please, could you say me which of them I have to install?, or what do I should install?
thank you very much,
Regards
Carlos Coronel
stephan schrieb am
February 14, 2013 um 10:56 amHi Carlos,
You are right. The link was a bit misleading. You should rather download the setuptools (which including pypi):
http://pypi.python.org/pypi/setuptools
Please note that I only tried with Python 2.7, not 3.x. I’m eager to learn if there are any compatibility issues.
Noel schrieb am
April 23, 2013 um 9:32 pmCarlos,
which version of the setuptools did you install? I don’t see a listing for python 3.x
stephan schrieb am
April 23, 2013 um 9:41 pmHi Noel,
try this one:
http://www.pip-installer.org/
jean-francois BUTKIEWICZ schrieb am
May 23, 2013 um 10:28 pmhi,
I am working on the windows process of shinken (monitoring tool based on python and using the nagios conf files). My goal is to provide setups for windows to use shinken. I have some request to install graphite on windows to use it with shinken. Is it possible for me to package your graphite installation into a setup.exe file and put it into the windows shinken setup (i think as an external setup.exe to check and trace the installations)? It will be easier for a lot of windows users to launch a setup.exe than make 3 githubs and other handmade modifications. Of course, i will not change the licence and put a reference of your work and website. Shinken is deliver with AGPL licence.
Let me know if you want more explanations, or if you have some questions.
Regards,
Jean-Francois BUTKIEWICZ
Veosoft, France
stephan schrieb am
May 24, 2013 um 4:44 pmHi Jean-Francois,
unfortunately, my experience with setup generators is limited. I understand the concern that one has to checkout a couple of github repositories but on the otherhand this gives you always an up-to-date version of the application. It would probably be easier to write a small python script that checks out the projects and then modifies the configuration files as required. So more or less a setup.py.
Cheers,
Stephan