[rrd-users] add_ds.pl

listuser at numbnuts.net listuser at numbnuts.net
Wed Mar 19 22:04:06 MET 2003

On Mon, 17 Mar 2003, Steve Robb wrote:

> Justin,
> You need to 'rrdtool dump rrdfile.rrd > rrdfile.xml' to create something to
> work with and then add in the new variables that you want to start
> collecting data for. Once it's the way you want, you do a 'rrdtool restore
> rrdfile.xml rrdfile.rrd' and the data is imported back in.

Has anyone ever gotten add_ds.pl to work?  I've tried adding another DS 
with it a dozen different ways and haven't gotten any to work.  The last 
was with

./add_ds.pl SENDMAIL_MSGID 0 GAUGE 600 NaN NaN < spam2.xml > spam2-out.xml

>From looking at the xml dump and the add_ds.pl usage, that appears to be
the correct info and syntax.  Everytime I run it the DS I was trying to
add wasn't included in the output.  I've tried editing the xml by copy,
cutting and uncutting exact copies of the existing <ds> entries and only
changing the name and setting the <value> (to 0).  Whenever I try to
restore the rrd, it says it can't find the <ds>.  Do I have to create any
of the other lines in the xml file (difficult since I haven't got a clue
what they are :()?  I'm rather lost.  Is there an easy way to add a DS to
an existing rrd?  Starting over scratch with a new rrd each time I need to
add something isn't going to be very feasible if this ever makes it to
production. :(


Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list