Doh, there was a problem with line endings there.

Use this:
http://gurugeek.com/jeff/rrdtool/add_ds.txt

Note, that this script enters one extra </ds> at the end of the datasource
list that you need to remove by hand.

How to use - Origional was wrong:

rrdtool dump blah.rrd > blah.xml
./add_ds.pl blah.xml > blah2.xml
(asked some questions)
(edit blah2.xml to remove the extra </ds>)
rrdtool restore blah2.xml blah2.rrd



--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to