Re: [rrd-users] Migrate RRD database to another (data lost)

This is a discussion on Re: [rrd-users] Migrate RRD database to another (data lost) within the RRD Users forums, part of the Networking and Network Related category; On Tue, Jun 19, 2007 at 02:03:18PM +0200, kormen wrote: > I use RRD with Smokeping. In the ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-19-2007
Alex van den Bogaerdt
 
Posts: n/a
Default Re: [rrd-users] Migrate RRD database to another (data lost)

On Tue, Jun 19, 2007 at 02:03:18PM +0200, kormen wrote:

> I use RRD with Smokeping. In the smokeping list not respond my question.
>
> My problem is, when i upgrade my smokeping, the smokeping don't start.
> The rrd-s step settings is different. the first install i put the config
> 10 targets, with 300 step 10 ping. Several time later i put the config
> file another 10 server and modify the step/ping values to 60 step 10
> ping the smokeping accept this values and run.
>
> I upgrade the smokeping. and the error "start steps mismatch to
> configured start 300 configured 60" if i reconfigure the smokeping to
> 300 steps, another rrd-s drop me errors: "start steps mismatch to
> configured start 60 configured 300" So i lost 50% of my data.
>
> Possible any way to convert rrd-s? or migrate rrd-s? I need this data.


You can fetch all data from one of your databases, create a new
database which has the GAUGE datatype and a sufficiently large
heartbeat, import the fetched data (using rrdtool update) into
the new database and then alter the datasource type, heartbeat
settings and so on so that they are correct for smokeping.

You will loose some precision or fake some precision, depending
on which settings you prefer (either you update 5 rows at a time,
or you will update one row 5 times and data will be averaged).

This task is not really hard but it does require some knowledge
of how the tool works, and you will have to be careful when you
do the conversion.

HTH
--
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:52 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0