Problem after migration from 32bit to 64bit architecture

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
DanielU
Posts: 18
Joined: Tue Jan 24, 2017 7:19 am
Location: Bydgoszcz, Poland

Problem after migration from 32bit to 64bit architecture

Post by DanielU »

Dear cacti community,
I am moving cacti form old 32bit debian to new 64bit centos
To move data I used rrdtool dump on the old machine and rrdtool restore on the new one.
Old cacti is old - 0.8.7e and new is 1.2.14

First problem: My graphs looks different on the old and new cacti
oldcacti.JPG
oldcacti.JPG (25.36 KiB) Viewed 970 times
newcacti.JPG
newcacti.JPG (26.67 KiB) Viewed 970 times
Second problem: graphs are not drawing on new machine until rrd file is deleted.
When I delete the file moved from old cacti, new file is created and new graph is beeing drawn.

Sorry for my poor english.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Problem after migration from 32bit to 64bit architecture

Post by TheWitness »

You need to use 64bit counter graphs, and the peak values allowed are controlled by ifHighSpeed or ifSpeed. So, if the ifSpeed is not the real speed, your graphs will clip as shown in your image.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
DanielU
Posts: 18
Joined: Tue Jan 24, 2017 7:19 am
Location: Bydgoszcz, Poland

Re: Problem after migration from 32bit to 64bit architecture

Post by DanielU »

Dear cacti comminity,
I had moved rrd once again using dump and restore and tried fix64bit plugin
obraz_2020-11-10_094140.png
obraz_2020-11-10_094140.png (11.26 KiB) Viewed 921 times
obraz_2020-11-10_094807.png
obraz_2020-11-10_094807.png (17.03 KiB) Viewed 920 times
DanielU
Posts: 18
Joined: Tue Jan 24, 2017 7:19 am
Location: Bydgoszcz, Poland

Re: Problem after migration from 32bit to 64bit architecture [solved]

Post by DanielU »

Dear cacti community,
I solved the problem.

You can see yourself.
This is xml dumped on the old device

Code: Select all

		<database>
			<!-- 2020-11-08 15:45:00 CET / 1604846700 --> <row><v> 1,7887488904e+07 </v><v> 6,9491551467e+06 </v></row>
			<!-- 2020-11-08 15:50:00 CET / 1604847000 --> <row><v> 1,8236553738e+07 </v><v> 1,1924783654e+07 </v></row>
			<!-- 2020-11-08 15:55:00 CET / 1604847300 --> <row><v> 1,8780256356e+07 </v><v> 8,1718529651e+06 </v></row>
			<!-- 2020-11-08 16:00:00 CET / 1604847600 --> <row><v> 1,9013867196e+07 </v><v> 3,7406994955e+06 </v></row>
And this is xml dumped on the new one.

Code: Select all

		<database>
			<!-- 2020-11-08 17:10:00 CET / 1604851800 --> <row><v>2.3077215365e+07</v><v>4.7717108553e+06</v></row>
			<!-- 2020-11-08 17:15:00 CET / 1604852100 --> <row><v>2.3023993181e+07</v><v>1.2910659795e+07</v></row>
			<!-- 2020-11-08 17:20:00 CET / 1604852400 --> <row><v>2.2865449969e+07</v><v>1.4035785173e+07</v></row>
			<!-- 2020-11-08 17:25:00 CET / 1604852700 --> <row><v>2.1970485641e+07</v><v>6.5510126908e+06</v></row>
The problem is in data separator, old has ',' and new has '.'

:D
obraz_2020-11-10_115926.png
obraz_2020-11-10_115926.png (21.27 KiB) Viewed 907 times
obraz_2020-11-10_120126.png
obraz_2020-11-10_120126.png (24.33 KiB) Viewed 907 times
TheWitness, I appreciate your interest.
Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest