[rrd-users] RRDtool plugin for collectd not creating the correct RRAs

Sivaraman Kannan k.sivaraman at gmail.com
Fri Nov 12 07:02:11 CET 2010


Hi all
    Not sure if I should send this to the collectd mailer or this one, so
please bear with me if this is not the right one.


    I am using the rrdtool plugin for collectd (4.9.2) and my collectd.conf
looks like this

Interval     300

LoadPlugin interface
LoadPlugin rrdtool

<Plugin interface>
    Interface "lo"
    IgnoreSelected true
</Plugin>

<Plugin rrdtool>
    DataDir "/data/collectd/rrd"
    CacheTimeout 9
    CacheFlush   900
    RRATimespan 300,3600,86400
</Plugin>

I want my interface RRD stats to be collected on a 5 min interval, and I
want three RRAs
    1. for every 5 minutes (this is the PDP)
    2. for 1 day (average of 12 values, collected every 5 minutes)
    3. for 1 day (average of 288 values, collected every 1 hr)  (12*24=288
values)
The maximum size of my RRA would be to store this data for 6 months.(180
days)

When i restart collectd, I see that the rrd files are getting created with
the default 1200 rows and there is no difference between the 3 RRAs at all
(upon running rrdtool info). I tried specifying the RRATimespan on different
rows, tried giving RRArows parameter but to no avail.

As far as my understanding goes, the rrdtool create should be given with the
following parameters for getting what I want
    rrdtool create /data/collectd/rrd/interface_stats.rrd
DS:stat:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:51840
RRA:AVERAGE:0.5:12:4320 RRA:AVERAGE:0.5:288:180

However, if I create my own RRDs using the create command, collectd is not
plugging the values into them. Can someone please help me out here?

regards
Siva.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20101112/59652136/attachment.htm 


More information about the rrd-users mailing list