May
25
2008

collectd + drraw + rrdtool

If you’re trying to use ddraw and rrdtool on Ubuntu 8.04 you have to make some minor changes on the drraw.cgi to get it work. I guess the rrdtool API has changed and since drraw’s latest realease is from 2005 there is something to do.

There error drraw prints out is “You must specify at least one RRA to add!”

drraw.cgi 2.1.3 <1.185.2.18>

Perl 5.008008

CGI.pm 3.15

RRDs.pm 1.2019

Here is the diff for drraw.cgi

1c1
< #! /usr/bin/perl -T

> #! /usr/local/bin/perl -T
2607c2607
<           = RRDs::fetch($file, $cf, 0, 0);

>                 = RRDs::fetch($file, $cf, ‘-s’, 0, ‘-e’, 0);

No Comments »

RSS feed for comments on this post. TrackBack URL


Leave a Reply

Powered by WordPress | Theme: Aeros 2.0 by TheBuckmaker.com