collectd + drraw.cgi - zoom into your graphs like you used to with cacti

I fell in love with collectd and drraw.cgi (a front-end to collectd). This combination is great: Fast, simple and yet sufficient.

But there was one thing I missed in drraw that I loved in cacti: Zooming. (This is how it looks like in cacti)

So I went on and hacked it into drraw.cgi using jQuery. This is how it looks like:

drraw_zoom.png

Download the patch (6kb).

A note: For simplicity’s sake I just included the jQuery lib hosted at Google APIs. If this is a problem for you, just download a copy, put it on your webserver and adjust the line in the patched drraw.cgi.

Have fun with it! Comments and improvements are always welcome!

3 Responses to “collectd + drraw.cgi - zoom into your graphs like you used to with cacti”

  1. collectd's status on Wednesday, 16-Sep-09 20:12:46 UTC - Identi.ca Says:

    […] http://pero.blogs.aprilmayjune.org/2009/09/16/collectd-drrawcgi-zoom-into-your-graphs-like-you-used… a few seconds ago from octo via IRC […]

  2. Vincent Borghi Says:

    Your patch is great!!! Many thanks to make it available.
    (drraw also is great, BTW)

  3. Ernesto Says:

    Sweet man ! Really good job !

Leave a Reply