[rrd-users] back filling an rrd

Steve Shipway s.shipway at auckland.ac.nz
Wed May 14 05:01:13 CEST 2014


Your heartbeat is too small, and so it expires before the updates come in.



You have a step of 86400 sec, which correctly corresponds to the interval 
between your updates.



However, the heartbeat for ds0 is 43200.  Therefore, each update will have 
expired before being made.



Generally, you should make the heartbeat twice the step, unless you have 
specific reasons not to.



Steve



Steve Shipway

s.shipway at auckland.ac.nz



From: rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch 
[mailto:rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch] On Behalf 
Of Rick Dicaire
Sent: Wednesday, 14 May 2014 1:47 p.m.
To: rrd-users at lists.oetiker.ch
Subject: [rrd-users] back filling an rrd



I have an rrd I created, it starts at epoch date 1377993600.



        $PROG create $RRDFILE \

        --step '86400' \

        --start '1377993600' \

        'DS:ds0:GAUGE:43200:U:U' \

        'RRA:AVERAGE:0.5:1:730'



I have a script with data to update the rrd, here's the first few lines:



rrdtool updatev f5_scraper.rrd 1380600000:0

rrdtool updatev f5_scraper.rrd 1380686400:0

rrdtool updatev f5_scraper.rrd 1380772800:0

rrdtool updatev f5_scraper.rrd 1380859200:0

rrdtool updatev f5_scraper.rrd 1380945600:0

rrdtool updatev f5_scraper.rrd 1381032000:0

rrdtool updatev f5_scraper.rrd 1381118400:937500000000

rrdtool updatev f5_scraper.rrd 1381204800:975000000000

rrdtool updatev f5_scraper.rrd 1381291200:1875000000000

rrdtool updatev f5_scraper.rrd 1381377600:2275000000000

rrdtool updatev f5_scraper.rrd 1381464000:2975000000000

rrdtool updatev f5_scraper.rrd 1381550400:475000000000



In all there's 224 update lines, with epoch timestamps 86400 seconds apart.



I run the script, no errors, but no data gets input into the rrd.



Am I doing something wrong?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20140514/ab7ca583/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5909 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20140514/ab7ca583/attachment-0001.bin 


More information about the rrd-users mailing list