[rrd-users] Can I make rrd graph with offline data set.
Alex van den Bogaerdt
alex at ergens.op.het.net
Wed Aug 29 09:44:51 CEST 2007
On Tue, Aug 28, 2007 at 10:28:02PM -0400, Dan Cech wrote:
> nina wrote:
> > Hi.
> > I have system usage data set for 4 weeks.
> > I didn't make rrd db and update before gethering data.
> >
> > Can I make rrd graph with offline data set in this case?
>
> Yes, you will need to specify the start time when you create the RRD and
> then write a script to feed the data in. Use the actual timestamp of
> the data instead of N for the updates.
Indeed, good advice.
To elaborate a bit:
- the start time needs to be slightly earlier than the first timestamp.
- it usually helps if you convert timestamps to "seconds since epoch",
"date +%s". Right now would be 1188373486.
HTH
--
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/
More information about the rrd-users
mailing list