[rrd-users] insert time-stamped data from a flat file?

Dulac, Daniel (Dan) ddulac at aprisma.com
Wed Dec 11 17:40:05 MET 2002


I am a relatively new user to RRD. I'm currently writing a perl script to
create and update an RRD with the datasource being a flat-file.  However, I
seem to be running into a problem inserting data into a RRD....Here is my
situation:

 

I have a completely different tool collecting data at various time intervals
(mostly 300 seconds) and writing this data to a flat-file.  Each row of this
flat file contains the time the data was collected, the metric (variable) I
am collecting, and the value (all semi-colon delimited).  At the end of each
day, a new flat-file is automatically created and titled with the new date
stamp.  At the end of each day, I want to populate the RRD with this new
data-reading from this flat-file (obviously, my script does the proper
conversion for the RRDs::update syntax)....When running my script and
attempting to insert data into the RRD, I get the following error
(repeatedly with different times):

 

ERROR: illegal attempt to update using time 1039622171 when last update time
is 1039622235 (minimum

one second step)

 

Can anyone give me insight to what this error actually means?  Is it
possible to use RRD with what I'm trying to accomplish?  I want to utilize
some of the cool RRD front-ends to graph my data on a daily basis.  Thanks
in advance for any help you can provide.

 

___________________

Dan




--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list