pero on anything

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!

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

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">