Xymon Mailing List Archive search

Need Help Migrating RRD data

8 messages in this thread

list James Wade · Thu, 14 May 2009 16:46:09 -0500 ·
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.

 
Thanks.James
list Stef Coene · Fri, 15 May 2009 00:36:47 +0200 ·
quoted from James Wade
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.


Stef
list Stef Coene · Fri, 15 May 2009 09:52:58 +0200 ·
quoted from Stef Coene
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
list James Wade · Fri, 15 May 2009 09:22:24 -0500 ·
Hello,

 
I never did get any replies on this one, so I thought I'd send it again.

 
What's the best way to do this? Remove the file and let xymon (hobbit)

re-create the database and then try to export and import the old data?

Is there a way to add the new column?

 
Any help would really be appreciate. I don't want to loose the old data.

 
Thanks.James
quoted from James Wade

 
From: James Wade [mailto:user-659655b2ea05@xymon.invalid] 
Sent: Thursday, May 14, 2009 4:46 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Need Help Migrating RRD data

 
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.

 
Thanks.James
list Josh Luthman · Fri, 15 May 2009 10:47:27 -0400 ·
Stef answered you.  Look in the archives if you can't find it in your mailbox.
quoted from James Wade

On 5/15/09, James Wade <user-659655b2ea05@xymon.invalid> wrote:
Hello,


I never did get any replies on this one, so I thought I'd send it again.


What's the best way to do this? Remove the file and let xymon (hobbit)

re-create the database and then try to export and import the old data?

Is there a way to add the new column?


Any help would really be appreciate. I don't want to loose the old data.


Thanks.James


From: James Wade [mailto:user-659655b2ea05@xymon.invalid]
Sent: Thursday, May 14, 2009 4:46 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Need Help Migrating RRD data


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.


Thanks.James

-- 

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

"When you have eliminated the impossible, that which remains, however
improbable, must be the truth."
--- Sir Arthur Conan Doyle
list James Wade · Fri, 15 May 2009 10:01:51 -0500 ·
Thanks, I found it in the archives.

James
quoted from Josh Luthman

-----Original Message-----
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Sent: Friday, May 15, 2009 9:47 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Need Help Migrating RRD data

Stef answered you.  Look in the archives if you can't find it in your
mailbox.

On 5/15/09, James Wade <user-659655b2ea05@xymon.invalid> wrote:
Hello,


I never did get any replies on this one, so I thought I'd send it again.


What's the best way to do this? Remove the file and let xymon (hobbit)

re-create the database and then try to export and import the old data?

Is there a way to add the new column?


Any help would really be appreciate. I don't want to loose the old data.


Thanks.James


From: James Wade [mailto:user-659655b2ea05@xymon.invalid]
Sent: Thursday, May 14, 2009 4:46 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Need Help Migrating RRD data


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.


Thanks.James

-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

"When you have eliminated the impossible, that which remains, however
improbable, must be the truth."
--- Sir Arthur Conan Doyle
list William Ottley · Fri, 15 May 2009 14:25:41 -0400 ·
Hi all,
I would naturally think that a threshold can also represent the time
something is "down" before an email is sent.

For example, if the conn for a printer is off for 5 minutes, I don't want to
be notified, but I do, after 15 minutes.

For a critical server, it would be down for 3 minutes, before I get
notified.

Ummm what is that feature called, since its not threshold, and where do I
configure that?

Thanks!!


William
quoted from James Wade


On 15/05/09 11:01 AM, "James Wade" <user-659655b2ea05@xymon.invalid> wrote:
Thanks, I found it in the archives.

James

-----Original Message-----
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Friday, May 15, 2009 9:47 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Need Help Migrating RRD data

Stef answered you.  Look in the archives if you can't find it in your
mailbox.

On 5/15/09, James Wade <user-659655b2ea05@xymon.invalid> wrote:
Hello,


I never did get any replies on this one, so I thought I'd send it again.


What's the best way to do this? Remove the file and let xymon (hobbit)

re-create the database and then try to export and import the old data?

Is there a way to add the new column?


Any help would really be appreciate. I don't want to loose the old data.


Thanks.James


From: James Wade [mailto:user-659655b2ea05@xymon.invalid]
Sent: Thursday, May 14, 2009 4:46 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Need Help Migrating RRD data


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.


Thanks.James

-- 

This message has been scanned for dangerous content by MailScanner, and is believed to be clean.
list Kevin Kelly · Fri, 15 May 2009 14:10:29 -0500 ·
You can set you threshold in the hobbit-alerts.cfg.

Duration >10  (would be alert after 10 minutes)
Duration >3 (alert after 3 minutes)
quoted from William Ottley


-----Original Message-----
From: William Ottley [mailto:user-432013e2e0c6@xymon.invalid] Sent: Friday, May 15, 2009 1:26 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Down time criteria before sending alert.

Hi all,
I would naturally think that a threshold can also represent the time
something is "down" before an email is sent.

For example, if the conn for a printer is off for 5 minutes, I don't
want to
be notified, but I do, after 15 minutes.

For a critical server, it would be down for 3 minutes, before I get
notified.

Ummm what is that feature called, since its not threshold, and where do
I
configure that?

Thanks!!


William


On 15/05/09 11:01 AM, "James Wade" <user-659655b2ea05@xymon.invalid> wrote:
Thanks, I found it in the archives.

James

-----Original Message-----
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Friday, May 15, 2009 9:47 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Need Help Migrating RRD data

Stef answered you.  Look in the archives if you can't find it in your
mailbox.

On 5/15/09, James Wade <user-659655b2ea05@xymon.invalid> wrote:
Hello,


I never did get any replies on this one, so I thought I'd send it
again.


What's the best way to do this? Remove the file and let xymon
(hobbit)
re-create the database and then try to export and import the old
data?

Is there a way to add the new column?


Any help would really be appreciate. I don't want to loose the old
data.


Thanks.James


From: James Wade [mailto:user-659655b2ea05@xymon.invalid]
Sent: Thursday, May 14, 2009 4:46 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Need Help Migrating RRD data


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.


Thanks.James

-- 
This message has been scanned for dangerous content by MailScanner, and
is believed to be clean.


This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________