[rrd-users] Re: SUMMARY: Out of time sequence.

Tobias Oetiker oetiker at ee.ethz.ch
Mon Feb 18 08:06:20 MET 2002

Today Steve Holdoway wrote:

> Hi all,
> Just a quick summary on what I have got running...
> The problem was that, due to a less than perfect internet connection, I
> sometimes miss data. It is possible to retrieve the data from another source
> at a later date, but it wouldn't load once the timestamps were out of
> sequence.
> Thanks to those who told me that this wasn't possible, and pointed out that
> I could use the route of dump -> xml, modify, restore from xml to
> incorporate changes.
> So, I modified the data generation program so that it output in the same
> format as the xml dump, and then used sed to replace data entries which had
> NaN entries, and then restored the database. The only complication was that
> the data entries were timestamped every 20 minutes, and I had to mod the
> real data timestamps to conform.
> The last problem that I have is that I seem to have one data point per hour,
> so loading the data this way still leaves two NaN entries for the data.
> Could someone tell me the best way of getting around this - ie what
> algorithm does the _real_ data antry interface use?

The real data entry algorithm integrates the space under the curve
built by connecting the counter values read from the device and
stores the space divided by the interval time every intervall ...

I suggest you take a different approach ...

stop updating the rrd as soon as no new data comes in, and then
playback the data collected at 'the other site' through the update
interface ...


 ______    __   _
/_  __/_  / /  (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland
 / // _ \/ _ \/ / phoneto:+41(0)1-632-5286  faxto:+41(0)1-632-1517
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://google.com/search?q=tobi

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