Contact Us

Home > Error This > Rrdtool Restore

Rrdtool Restore

Contents

and for the same reason, I'll share my restore oneliner bash. I simply used: for f in *.xml; do rrdtool restore ${f} `echo ${f} | sed s/\.xml//`; done Reply  Claudio Kuenzler 25 March 2015 at 15:23 Thanks for sharing. HomeAbout meCloud OrchestrationLinux sysadminMac OSXOther postsGithub Remi Bergsma's blog Linux sysadmin, cloud computing and more! Send to Email Address Your Name Your Email Address Cancel Post was not sent - check your email addresses!

On the same system where the RRD was created, use rrdtool dump to export the data to XML format. # for i in ./*.rrd;do rrdtool dump $i ../rrd/$i.xml;done (to converted all so the graphs that were not converted back are now opening but i think they are created from scratch and history on those graphs will not be displayed. I'm pretty sure architecture-independent file format is on the roadmap for rrdtool development. _________________Weathermap 0.98 is out! & QuickTree 0.2. Post Views: 247 Categories: Hosting, Linux, Software Tags: architecture, Debian, development server, Hosting, Linux, monitoring, Munin, RRD, server, ubuntu, webserver Ruby on Rails + Webrick: ERROR NoMethodError: undefined method ‘split' for https://blog.remibergsma.com/2012/04/30/rrdtool-moving-data-between-32bit-and-64bit-architectures/

Rrdtool Restore

Lately, some user contributed this stuffReinhard Thanks. Email check failed, please try again Sorry, your blog cannot share posts by email. %d bloggers like this: cPanel KnowledgeBase and Troubleshooting, cPanel Server Fixes Home cPanel cPanel Questions and Answers for f in *.xml; do rrdtool restore ${f} `echo ${f} | cut -f1 -d .`.rrd; done Bye Reply  Remi Bergsma 5 June 2013 at 21:49 Great to hear Dago, and Cacti uses it for its core functionality.

i have tried to change the script with a cycle for but i'm not able to do this. After copying the RRD files to new machines and accessing cacti web http://myserver/cacti gives empty graphs. (wired) After digging the logs (in apache error log) found out that RRD files is After moving RRD from 32bit OS to 64bit OS you will meet "ERROR: This RRD was created on another architecture" in your http error logs and you will not see your i had to do the following: mysql> grant all on cacti.* to [email protected] identified by ‘passwrd'; However i still have this issue regarding the error when converting from xml to rra.

I think Sparc is big-endian and Intel is little-endian. Rrdtool Dump Is it during the transfer, or afterwards in Cacti? Reply JL on 2014-02-19 at 14:14 UTC thanks a lot ! please see also the cacti crontab job for the poller: MAILTO=root */1 * * * * www-data php /usr/share/cacti/site/poller.php >/dev/null 2>/var/log/cacti/poller-error.log it is exactly the same as on the old machine

In connection with restore you can use this to move an RRD from one computer architecture to another. I can see some graphs displayed but not all of them. Until then, anyone working on a distributed system will be mindfull that the poller/filesystem/http sections would ideally share the same arch. Run rrdtool restore to create a new RRD from the XML dump. # for i in ./*.xml; do rrdtool restore "$i" "../rrd/${i%.xml}"; done 5.00 avg.

Rrdtool Dump

The @SchubergPhilis Cloud Team took another major leap: @cosmiccloud_ capacity bumped to 42TB ram and 3500… twitter.com/i/web/status/7… 1weekago Awesomeness! http://www.olivierdoucet.info/blog/2012/11/13/migrating-rrdtool-32bits-64-bits/ Are there any files with spaces or so?  bernard 14 June 2013 at 09:35 Hi Remi, Can you please send me your email in order to attach the folder since Rrdtool Restore The script I attached does the job automagically, along with changing the directories within the database. What else gets put in the debug log ?

Home/Linux sysadmin/RRDtool: moving data between 32bit and 64bitarchitectures RRDtool: moving data between 32bit and 64bitarchitectures 30 April 2012 —13 Comments When you mix architectures (or are moving from 32bit to 64bit To convert files, you have to dump data to an XML file, sync it on the new server, and reimport it. Sean Top gandalf Post subject: Posted: Sun Jan 14, 2007 1:41 pm Developer Joined: Thu Dec 02, 2004 2:46 amPosts: 22461Location: Muenster, Germany Oh, sorry; I've not read Reply What do you think?

Newer Post Older Post Home Subscribe to: Post Comments (Atom) Blog Archive ► 2016 (2) ► May (2) ► 2014 (8) ► December (2) ► November (2) ► September (4) ► Installing Nagios-plugins and NRPE on Centos 6 My KVM howto ► July (2) ► June (4) ► May (2) ► April (5) ► March (7) ► February (3) ► January (5) PS: i didnt mentioned any file with spaces in the xml files. Unfortunately, the files it generates are architecture-dependent.

When I create one graph, that work.Any clues ? sam Top scotia70 Post subject: Posted: Sat Feb 14, 2009 9:18 am Joined: Sat Feb 14, 2009 8:21 amPosts: 3 This is a fantastic how-to. [email protected]:~# cd /var/lib/backuppc/log [email protected]:/var/lib/backuppc/log# rrdtool info pool.rrd ERROR: This RRD was created on other architecture 123 [email protected]:~# cd /var/lib/backuppc/[email protected]:/var/lib/backuppc/log# rrdtool info pool.rrd ERROR: This RRD was created on other architecture To

Top Howie Post subject: Posted: Tue Mar 30, 2010 9:00 am Cacti Guru User Joined: Thu Sep 16, 2004 5:53 amPosts: 4964Location: United Kingdom It's not just 32/64

Dates around april 2009. When this is finished, you need to download all the files and upload them to your new server. You may use: LANG=C before every rrdtool call like: for f in *.rrd; do LANG=C rrdtool dump ${f} > ${f}.xml; done with different locale you may have scaled/quantized results as floats This is how to make it with justa few lines of bash : cd /path/to/rrd/files; for i in $(find . -name '*.rrd'); do rrdtool dump $i > $i.xml ; done rsync

Saturday, August 20, 2011 ERROR: This RRD was created on another architecture Recently I have to migrate our cacti installation to new machine during which i encounter few issues. porfavor Soy nuevo en ESTO y mi tarea es migrar cactus, Tengo El Problema de los Versiones de 32 bits a 64 bits y no propiamente de Como hacerloDeleteReplyNickJune 26, 2012 I am Creepy Chris; I am the molestache Advanced Ping with Cacti Recent Commentsgoethe.de on Upgrading to OpenWRT 10.03.1-rc4Tyler Wagner on Cacti and 1-minute pollingPeter Sun on Cacti and 1-minute pollingPeter Transfer the XML dump to the target system. 3.

Reply  Remi Bergsma 13 June 2013 at 16:40 Hi, Could you show the contents of the directory? Run rrdtool restore to create a new RRD from the XML dump. # for i in ./*.xml; do rrdtool restore "$i" "../rrd/${i%.xml}"; done After this cacti was up and running with Fill in your details below or click an icon to log in: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. (LogOut/Change) You are Top SeanW Post subject: Posted: Sat Jan 13, 2007 5:26 pm Joined: Tue Nov 28, 2006 9:17 amPosts: 26Location: Winnipeg, Canada adrianmarsh wrote:Where do you get the "different"

Wagner [rrd-users] ERROR: This RRD was created on another architecture C. Post navigation ← Migrating a MySQL database to another server RRDTool with MySQL → Leave a Reply Cancel reply Your email address will not be published. What else gets put in the debug log ? Top SeanW Post subject: Posted: Mon Apr 21, 2008 7:39 am Joined: Tue Nov 28, 2006 9:17 amPosts: 26Location: Winnipeg, Canada Hi.

The only way I can find to make this work via google is to dump the rrd file contents to xml and import them int he new arch, which wont' be Is it during the transfer, or afterwards in Cacti? If you have a lot of files (such as on a Cacti server), here is a handy loop: for i in *.rrd; do rrdtool dump $i > $i.xml ; done 1 Works great across 3 amd64's I have running Freebsd; however, after an install onto i386 (32bit) i noticed this error when trying to display graphs: ERROR: This RRD was created on

Lately, some user contributed this stuff Reinhard _________________Official Cacti DocumentationOfficial Debugging HelpCentral Plugin RepositoryCentral Templates Repository Top SeanW Post subject: Re: Migrating between architectures and directoriesPosted: Sun Jan On the 32 bit machine in /var/www/cacti/rra/ run pushd /var/www/html/cacti/rra for i in `ls *.rrd`; do rrdtool dump $i > $i.xml; done popd On the new 64 bit machine pushd /var/www/html/cacti/rra I was using Smokeping on this server, and I wanted to keep my old data.