Re: [cricket-users] Help! (fwd)

From: the+cricket@llama.com
Date: Thu Nov 04 1999 - 12:06:13 PST


From: the+cricket@llama.com

> From: jrg@blodwen.demon.co.uk (James R Grinter)
>
> On Mon 1 Nov, 1999, "Berg, Ivan" <iberg@montana.edu> wrote:
> >There is no current utility to convert a rrd data file from x data sources
> >to x + n sources.
>
> It looks like it ought to be possible to use 'rrdtool dump' and then
> edit the resulting XML output to incorporate a new, blank, data-source
> and 'rrdtool restore' to put it back.
>
> But I've not actually attmempted to do this, yet.

I have, and it doesn't work, get errors complaining about
ERROR: No <ds> tag found

It's apparently not enough to create additional elements,
which look like what I have below. Oh well, time to hit
the rrdtool mailing lists...

        <ds>
                <name> ds0 </name>
                <type> GAUGE </type>
                <minimal_heartbeat> 1800 </minimal_heartbeat>
                <min> NaN </min>
                <max> NaN </max>

                <!-- PDP Status -->
                <last_ds> UNKN </last_ds>
                <value> 1.9600000000e+02 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>

                <cdp_prep>
    <ds><value> NaN </value> <unknown_datapoints> 0 </unknown_datapoints></ds>
    <ds><value> NaN </value> <unknown_datapoints> 0 </unknown_datapoints></ds>
                </cdp_prep>

~ <!-- 1999-11-02 09:10:00 PST --> <row><v> 7.0000000000e+00 </v><v> 2.0000000000e+00 </v><v> 4.7000000000e-02 </v><v> 0.0000000000e+00 </v><v> 9.0000000000e+00 </v><v> 2.0000000000e+00 </v><v> 0.0000000000e+00 </v><v> 7.2500000000e+00 </v><v> 9.9990000000e+01 </v><v> NaN </v><v> NaN </v></row>

--------------------------- ONElist Sponsor ----------------------------

Independent contractors: Find your next project gig through JobSwarm!
        You can even make $$$ by referring friends.
<a href=" http://clickme.onelist.com/ad/jobswarm2 ">Click Here</a>

------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:01:05 PST