[rrd-users] XML format question.

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. ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-28-2008
Mike White
 
Posts: n/a
Default [rrd-users] XML format question.

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:37 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0