|
|
| Author |
Message |
rogermurao
Joined: 13 Aug 2008 Posts: 5
|
Posted: Tue Aug 19, 2008 8:40 am Post subject: Migrate "rra" folder of the Linux to Windows |
|
|
Hi people,
I have the Cacti in my Linux platform. Now I installed the Cacti for Windows and everything was allright.
I did a dump in my Linux database and restore in my Windows database and copied the files on the rra folder of the Linux to my rra folder on the Windows.
Now, the graphs aren't working.
I turned on the graph debug mode and the follow message appear.
RRDTool Command:
C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Switch - BRCTAGT289 - Ping Latency" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="milliseconds" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/wamp/www/cacti/rra/switch_-_brctagt289_ping_1955.rrd":ping:AVERAGE \
AREA:a#FFF200FF:"" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s"
RRDTool Says:
ERROR: This RRD was created on other architecture
What can I do to solve this problem?
I need to create new graphs for all hosts? |
|
| Back to top |
|
 |
Linegod Developer
Joined: 20 Feb 2003 Posts: 518 Location: Canada
|
Posted: Tue Aug 19, 2008 10:23 am Post subject: |
|
|
You need to dump the rrd file to XML on the Linux box, copy it to the Windows box and restore it.
See 'man rrddump' and 'man rrdrestore'
But why would you move to a Windows box....  |
|
| Back to top |
|
 |
BSOD2600 Cacti Moderator
Joined: 08 May 2004 Posts: 6795 Location: WA, USA
|
Posted: Tue Aug 19, 2008 2:19 pm Post subject: |
|
|
| I believe someone created a script (perl?) that does this conversion for you... search the forum |
|
| Back to top |
|
 |
rogermurao
Joined: 13 Aug 2008 Posts: 5
|
Posted: Tue Aug 19, 2008 3:33 pm Post subject: |
|
|
I got to do the dump on Linux, but when I tried to restore on Windows, appeared this error.
C:\wamp\www\cacti\rrdtool restore brgabs105_arte_rh_hdd_total_876.xml b rgabs105_arte_rh_hdd_total_876.rrd
ERROR: Incompatible file version, detected version . This is not supported by th
e version 0003 restore tool.
I'm using the rrdtool 1.2.27 version on Windows and 1.2.13 version on Linux. |
|
| Back to top |
|
 |
Linegod Developer
Joined: 20 Feb 2003 Posts: 518 Location: Canada
|
Posted: Tue Aug 19, 2008 4:18 pm Post subject: |
|
|
| Make sure they are the same. Certain versions, IIRC, will be OK, but the best bet is to make sure they are exactly the same. |
|
| Back to top |
|
 |
|