Damaged graphs after upgrading to 1.2.16

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
caseyl
Posts: 1
Joined: Thu Jan 28, 2021 4:09 am

Damaged graphs after upgrading to 1.2.16

Post by caseyl »

I updated from 1.2.10 to 1.2.16 (Cacti and Spine, no plugins) on Ubuntu 20.04. Cacti and Spine were previously installed from the Ubuntu repo with apt.
When doing the upgrade I noticed the paths had changed (spine was originally in /usr/sbin/spine and is now in /usr/local/spine/bin/spine) and the path to cacti has changed as well. The path to cacti in 1.2.10 was /usr/share/cacti/site/ and now in 1/2/16 it's /usr/share/cacti/

I initially had issues with spine unable to find the rrd's:

sudo -u www-data /usr/share/cacti/poller.php
2021-01-28 00:34:02 - POLLER: Poller[1] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 404.6 seconds have passed since the last poll!
ERROR: opening '/usr/share/cacti/site/rra/xxxx-4s-asa_traffic_in_93.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/site/rra/xxxx-4s-asa_traffic_in_94.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/site/rra/xxxx-4s-asa_asa5min_cpu_161.rrd': No such file or directory
...

So I created a sym link /usr/share/cacti/site/rra that points to /usr/share/cacti/rra to resolve that.
Not sure if the damaged graphs are related to the path changes.

Under Management > Graphs
I'm seeing 'Damaged Graph' for any of the traffic graphs. It looks like the other graphs (ex. Cisco ASA - 5 Minute CPU Usage, Cisco ASA - Memory Usage, Cisco ASA - Active VPN Tunnels) are working normally (they don't show 'Damaged Graph'). All the damaged graphs appear to be the 'Interface - Traffic (bits/sec, 95th Percentile)' graphs. This graph was modified slightly (Alpha % was changed on the Area graph items in Cacti 1.2.10).

Has anyone had this issue before or have any suggestions on how to resolve the damaged graphs?
Thanks!
-casey
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Damaged graphs after upgrading to 1.2.16

Post by Osiris »

There was a form API issue some releases ago that caused the damage. Best recreat the graphs and copy the old rrdfile to the new.
Before history, there was a paradise, now dust.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest