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:
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!
Linux: Executables on a Samba/CIFS Share “Internet slow” on Ubuntu Karmic Koala (9.10)

[...] 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 [...]
Your patch is great!!! Many thanks to make it available.
(drraw also is great, BTW)
Sweet man ! Really good job !
The patch doesn’t work if you are in a different timezone than the data in the graph. I am viewing a graph that is three time zones off from mine. When I zoom, it zooms in three hours too early.
Thank you some much, this is awesome!!! Great work!