[rrd-users] Re: adding a datasource - sanity check

Tobias Oetiker oetiker at ee.ethz.ch
Wed Mar 30 12:43:38 MEST 2005


Hi Per,
I think this is what
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/contrib/rrdaddsource.gz
does

cheers
tobi


> All,
>
> 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?
>
>
> thanks,
> /Per Jessen, Zürich
>
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/oetiker +41(0)44-632-5286

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