Re: [rrd-users] Can I stuff an RRD with data after-the-fact?

2014-09-17 Thread Alan McKay
Bingo - it was the create time. When I create the RRD with a time of "one year ago" I can do the import just fine with while read line do rrdtool update foobar-1yr-5sec.rrd -t diskiops:diskutil $line done < diskperf-1yr-5sec.log ___ rrd-users mailing li

Re: [rrd-users] Can I stuff an RRD with data after-the-fact?

2014-09-17 Thread Alan McKay
On Tue, Sep 16, 2014 at 4:19 PM, Johan Elmerfjord wrote: > You can specify the starttime of the rrd-file when you create it, > like: > > rrdtool create $rrdFileName --start 1325372400 --step 300 ..and all the > rest... Oh I missed that first time around - I'll double check that at work today an

Re: [rrd-users] Can I stuff an RRD with data after-the-fact?

2014-09-17 Thread Simon Hobson
> Do you run Nagios (or anything similar) ? For some of my stats, I twigged > that Nagios already collected some performance stats (but not all I wanted) - > it just needs a bit of scripting to drop that data into a file and process it. http://nagios.sourceforge.net/docs/3_0/perfdata.html _

Re: [rrd-users] Can I stuff an RRD with data after-the-fact?

2014-09-16 Thread Simon Hobson
On 16 Sep 2014, at 19:17, Alan McKay wrote: > On Tue, Sep 16, 2014 at 11:00 AM, Simon Hobson wrote: >> That will work just fine *IF* none of the data in your file is older than >> data in the RRD file AND all the timestamps in the file are in increasing >> order. With each update, the RRD wil

Re: [rrd-users] Can I stuff an RRD with data after-the-fact?

2014-09-16 Thread Johan Elmerfjord
: rrd-users Subject: Re: [rrd-users] Can I stuff an RRD with data after-the-fact? I think my basic problem is that when I create the RRD it must put in a "last update time" of the time of creation. Then all my datapoints are basically before that time. ERROR: foobar-1yr-5sec.rrd: illegal

Re: [rrd-users] Can I stuff an RRD with data after-the-fact?

2014-09-16 Thread Alan McKay
I think my basic problem is that when I create the RRD it must put in a "last update time" of the time of creation. Then all my datapoints are basically before that time. ERROR: foobar-1yr-5sec.rrd: illegal attempt to update using time 1410898046 when last update time is 1410898050 (minimum one se

Re: [rrd-users] Can I stuff an RRD with data after-the-fact?

2014-09-16 Thread Alan McKay
On Tue, Sep 16, 2014 at 11:00 AM, Simon Hobson wrote: > That will work just fine *IF* none of the data in your file is older than > data in the RRD file AND all the timestamps in the file are in increasing > order. With each update, the RRD will update just the same as if you'd fed > them in in

Re: [rrd-users] Can I stuff an RRD with data after-the-fact?

2014-09-16 Thread Simon Hobson
Alan McKay wrote: > For various reasons I want to collect data in my own logfile formatted thus : > > :data1:data2 > > And then when I want to see a graph, copy that over to another host and feed > it > into an RRD file, then graph it from there. That's OK. > But of course in doing so I get

[rrd-users] Can I stuff an RRD with data after-the-fact?

2014-09-16 Thread Alan McKay
Hi folks, I know this may not seem to make sense to most of you but it does to me :-) For various reasons I want to collect data in my own logfile formatted thus : :data1:data2 And then when I want to see a graph, copy that over to another host and feed it into an RRD file, then graph it from t