This is a discussion on [rrd-users] XML format question. within the RRD Users forums, part of the Networking and Network Related category; I have a large number of jrobin xml dumps which I want to restore to rrdtool, version 1.2.11. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have a large number of jrobin xml dumps which I want to restore to
rrdtool, version 1.2.11. Running rrdtool restore fails, because the version number of the data is 0001, but rrdtool only knows how to restore version 0002 and higher. I decided to see if I can modify the jrobin xml dumps so that they conform to the version 0003 format. The only obvious difference I can find (besides the verison tag number and xff tag now being wrapped in a params tag) are the new primary_value and secondary_value tags. Can I just set these to NaN, or maybe 0, and assume it will work the same? Or is there some other straightforward way to synthesize correct values here, assuming I want to be able to update the rrd after restoring. At best, there would be no anomalies at the point where updates begin with rrdtool. At worst, I'd be OK having a bad archive point or two at the point of first new update, as long I could be fairly certain that rrdtool won't crash on the data. I tried to figure it out myself by running rrdtool and doing updates and dumps and examining these values, but it did not become clear to me what primary_value and secondary_value represent. If it helps, all my archives are of type AVERAGE, so there's nothing too complex going on. Thanks, Mike White _______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
![]() |
| Thread Tools | |
| Display Modes | |
|
|