[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Need Help Migrating RRD data



On Friday 15 May 2009, Stef Coene wrote:
> On Thursday 14 May 2009, James Wade wrote:
> > Hello,
> >
> >
> > So, I wrote a Hobbit(xymon) Script that gives the number of users
> > accessing specific URL's which goes into the RRD database.
> >
> > I now want to track the number of users accessing another
> > URL, so I modified my hobbit script and the hobbitgraph.cfg.
> >
> > However, I can't see the new data. What's the easiest way to
> > get the new value into the RRD database?
> >
> > I know I can just remove the existing database and have it
> > re-create the database and it will start pulling the new data.
> >
> > However, I want my old data from the other values in there
> > in addition to the new one.
> >
> > Any assistance would be appreciated.
>
> Don't blame me it it screws up your rrd, but I attached the script that I
> use. It searches a predefined directory (/home/users/hobbit/data/rrd/) for
> the files vmstat.rrd to add a DS.  I used this to add 2 extra counters from
> Power5 CPU virtualisation.
I changed my script so you can give the needed information as paramaters on 
the command line.  You can download it from:
http://www.docum.org/foswiki/bin/view/Xymon/AddDstoRRD


Stef