[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Need Help Migrating RRD data
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Need Help Migrating RRD data
- From: Stef Coene <stef.coene (at) docum.org>
- Date: Fri, 15 May 2009 09:52:58 +0200
- References: <031901c9d4dd$65bff670$726b28a8 (at) hhsea.txnet.state.tx.us> <200905150036.47169.stef.coene (at) docum.org>
- User-agent: KMail/1.9.10
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