[rrd-developers] Re: bug in rrdtool restore function
Ian Holsman
lists at holsman.net
Mon May 29 09:03:36 MEST 2006
On 29/05/2006, at 4:06 PM, Tobias Oetiker wrote:
> Hi Ian,
>
>
> my hunch is that fixing this one problem would only be the
> beginning of a long stretch of issues ...
I don't think so.. other than that the output python's xml dom writes
is fine.
>
> is there a particular reason you have for wanting to fix this
> issues ?
yes.. I have ~10,000 RRD's with a bad RRA definition which is saving
stuff for only 3 months. (instead of 2 years)
I am shoving the data from a backup RRD into the current one and
recreating it.
the only way I know how to do this is via the XML output of both...
it seems to work ok, but it is slow.
my solution to this issue is just to skip the first 22 bytes of the
XML that python generates.
regards
Ian.
>
> cheers
> tobi
>
>> as a followup to my how to merge 2 rrd's post later I started going
>> to XML manipulation route.
>>
>> I noticed that RRD doesn't like to restore a document that starts
>> with the following
>>
>> <?xml version="1.0" ?>
>>
>> which is valid xml.
>> I'm thinking the 'eat_tag' function needs to be adjusted to cater for
>> this.
>>
>> any thoughts?
>>
>> --
>> Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?
>> subject=unsubscribe
>> Help mailto:rrd-developers-request at list.ee.ethz.ch?
>> subject=help
>> Archive http://lists.ee.ethz.ch/rrd-developers
>> WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
>>
>
> --
> ETH Zurich
> Tobias Oetiker, IT Support Group D-ITET (ISG.EE)
> ETL F24.2, Physikstrasse 3, 8092 Zurich, Switzerland
> Phone +41 44 63 25286, http://people.ee.ethz.ch/oetiker/
--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-developers
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-developers
mailing list