As 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:
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:
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