[collectd] Using rrd.cgi with collectd

Sukhamrit Kanwar sukhamrit at makemyshow.com
Fri Aug 18 10:54:19 CEST 2006


Thanks for your reply.

I'm not using rrdcgi(1), although your post did give me a sort of clue 
as to what might be wrong. In any case, here is a link to the script im 
trying to use:

http://haroon.sis.utoronto.ca/rrd/scripts/

It seems to be implemented just fine, but doesn't seem to find the right 
DS values in the RRD files. In the graph-making there seem to DEF 
entries for 1min:AVERAGE, 5min:AVERAGE, 10min:AVERAGE. Would it work if 
I use MIN MAX AVERAGE in this case?

Basically, I'm just looking for a very simple way to view graphs created 
from RRD files, so any other suggestions are welcome.

Thanks in advance.


Florian Forster wrote:
> Hi Sukhamrit,
>
> On Wed, Aug 16, 2006 at 04:35:00PM +0100, Sukhamrit Kanwar wrote:
>   
>> I found rrd.cgi and it seemed easy to implement, but after getting it
>> to run, there were some errors.
>>     
>
> do you mean `rrdcgi(1)'? I never used it myself, but the examples in the
> manpage seem quite explanatory.. ;)
>
>   
>> It seems that the data format rrd.cgi expects from its input RRD files
>> dont exactly seem to match the output given by collectd. 
>>     
>
> Well, the only output `format' you need to be concerned about is the
> name of the `data source's, aka `DS', and the `consolidation function',
> aka `CF'.
>
> You can find the DS-names by looking at the homepage (it's incomplete,
> sorry) and/or using `rrdtool info' (rrdinfo(1)). collectd creates RRD-
> files with the following CFs: `MIN', `MAX', and `AVERAGE'.
>
> Sorry I can't be of more help.. If this doesn't help, please tell us
> exactly which script you're trying to use, preferably include an URL to
> where it can be found.
>
> Regards,
> -octo
>   




More information about the collectd mailing list