[rrd-users] back filling an rrd

Rick Dicaire kritek at gmail.com
Wed May 14 14:11:10 CEST 2014


Steve, thanks, I realized that a few minutes after sending the email. User
error *sigh*


On Tue, May 13, 2014 at 11:01 PM, Steve Shipway <s.shipway at auckland.ac.nz>wrote:

> 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?
>



-- 
aRDy Music and Rick Dicaire present:
http://www.ardynet.com
http://www.ardynet.com:9000/ardymusic.ogg.m3u
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20140514/d1e2b84d/attachment-0001.htm 


More information about the rrd-users mailing list