Home > Others > Moving RRD file from 32bit to 64bit Architecture

Moving RRD file from 32bit to 64bit Architecture

When we were working on a nagios monitoring system we were migrating from a 32bit nagios to a 64bit Architecture.
Most of the graphs are not working as the RRD was from an older 32bit architecture.
Location of perfdata on nagios server.
[root@nagios-server perfdata]# pwd 
/usr/local/nagios/share/perfdata
Error when we load the graph.
ERROR: This RRD was created on another architecture
This can re solved by converting the exsisting 32bit RRD to XML and then restoring into the new 64bit Architecture.

Creating a xml dump for rrd file.

rrdtool dump cpu_load.rrd > cpu_load.xml
Move the XML file to the new server (64bit)

Restore the XML file back.

rrdtool restore -f cpu_load.xml cpu_load.rrd
Testing if the RRD file is create fine, use below command.
rrdtool info cpu_load.rrd
Now you should be able to see all the graphs on the server.

from Blogger http://ift.tt/2bi1Ibz
via IFTTT

Advertisements
Categories: Others Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: