[rrd-users] rrdrestore and empty elements

Sean Whitney sean at visionary-networks.com
Thu Jan 24 21:42:38 CET 2013


I'm working on a script to merge two different rrd files into a new rrdfile using perl libXML (don't ask).

After it parses and outputs the new xml file, I found that rrdrestore wasn't able to process it because of a empty element

<last_ds/> failed, while
<last_ds><./last_ds> works.

I bring this up because the former element is valid XML.

I have temporarily bypassed the issue by using toStringHTML() instead of toString().

Anyone else confirm this or did I miss something somewhere.

Sean
=======================================
Sean Whitney
PMB #120, 16505A SE First Street
Vancouver, WA  98684
T. 360.326.2740 
C. 360.607.7945
F. 815.364.0687
aim: seanmwhitney
email: sean at visionary-networks.com
skype: sean_whitney
=======================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20130124/7b70de23/attachment.htm 


More information about the rrd-users mailing list