[rrd-users] how to load / updated data in rrd database from a file?
William Maniates
WManiat at NICOR.COM
Fri Jul 17 16:59:58 CEST 2009
I have been trying this, and perhaps it is because I am configuring my
data layout incorrectly. I am trying to configure my line of data like
this:
server name 1 2 1 3 1 1 2 1 3 1 2
Where the first column is the hostname, and the rest of the columns are
my data points at 1 minute intervals. Is this correct, or do I need to
configure my data in a column format like this:
server name
1
2
1
3
1
1
2
1
3
1
2
Thanks,
Bill
-----Original Message-----
From: rrd-users-bounces at lists.oetiker.ch
[mailto:rrd-users-bounces at lists.oetiker.ch] On Behalf Of Ivan Zahariev
Sent: Friday, July 17, 2009 9:39 AM
To: rrd-users at lists.oetiker.ch
Subject: Re: [rrd-users] how to load / updated data in rrd database from
a file?
Hi,
You can loop through the csv file, read each line and run an RRD update
command for each read line. This way you will effectively feed the RRD
database with data for each minute from your csv file. I don't know an
automated way to do this. You would need to write a short Perl or Bash
script, for example.
--Ivan
William Maniates wrote:
> Hello All,
> I am hoping to make use of RRD to graph disk storage statistics. I
> currently export out from my disk array the stats once per day to a
> csv file. This file contains lines of data captured at one minute
> intervals. Is it possible to load the data from these export files
> into an RRD? I have not yet found how to do this. It appears that
> this tool is mostly used for updating RRD on a more frequent basis
> than once per day. Any assistance would be appreciated.
>
> thanks,
> Bill M.
>
------------------------------------------------------------------------
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
_______________________________________________
rrd-users mailing list
rrd-users at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
More information about the rrd-users
mailing list