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

[email protected]



From: [email protected] 
[mailto:[email protected]] On Behalf 
Of Rick Dicaire
Sent: Wednesday, 14 May 2014 1:47 p.m.
To: [email protected]
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?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to