[rrd-users] adding a datasource - sanity check

Per Jessen per at computer.org
Wed Mar 30 12:31:21 MEST 2005


I've worked out the following scheme for adding a datasource to an existing rrd:

rrdddump >xml
massage xml, adding DS and a new value=NaN for the new DS. 
rrdrestore xml >newrrd

Sanity check - is this the right way or is there a better/easier/more correct way? 

Sanity check - as the data obviously didn't exist before, I'm not really too
bothered with the contents of the archives etc. - is NaN the right value to use or should
I just use 0.0e+0? 

/Per Jessen, Zürich

http://www.spamchek.ch/freetrial - jetzt für 30 Tage ausprobieren - kostenlos und unverbindlich!

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