Graphite events on Debian jessie


0.00 avg. rating (0% score) - 0 votes


I’m using Graphite at work and for my Nousmotards project. For Nousmotards, I’m using the Graphite version available in the default Debian Jessie repositories. This to avoid mismatch django dependencies etc…

A few days ago, I wanted to try Graphite events to get something pretty cool in Grafana :

This to be able to know when a new app version is deployed and make it easier to understand when an issue occurs. However I had troubles with curl command when I wanted to
send data, because there is a mismatch dependencies between the Django version and Graphite version in Debian Jessie:

I’ve found several solution proposing Django upgrade etc… but the simplest solution I’ve found for me is to simply make a replacement directly in a graphite lib. Edit the file /usr/lib/python2.7/dist-packages/graphite/events/ and update the event line like this:

Then restart uwsgi service and finally it works like a charm 🙂

Author: Deimos

I'm a passionate DevOps. I love transmit my skills and I love working on high availability infrastructures/technologies.

Laisser une réponse