Migration from 0.8.8b to 1.2.25, graphs not updating with new data

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

Moderators: Developers, Moderators

Post Reply
joseph85750
Posts: 7
Joined: Wed Nov 15, 2023 9:25 am

Migration from 0.8.8b to 1.2.25, graphs not updating with new data

Post by joseph85750 »

I have an old Ubuntu 12.04 system running Cacti 0.8.8b, and trying to migrate to Ubuntu 22.04 with Cacti 1.2.25
I managed to get all the rrd files brought over, and did a mysqldump from the old, and imported into the new system.
All the old data from the original system looks intact on the new system.
All the old graph data came over fine. However, I'm not seeing any new updates to the existing graphs on the new system; the graph data stops at the time of the export/import.
It looks like the rrd files are updating:

Code: Select all

/usr/website/cacti/rra$ date
Wed Nov 15 14:33:43 UTC 2023
/usr/website/cacti/rra$ rrdtool last ds_3495.rrd
1700058843
/usr/website/cacti/rra$ date +%s
1700058853
I have my poller cron script running every minute, as I did on the original system.
It looks like all my configs from the old system were migrated as well.
Is there maybe a new setting in the newer system which needs to be updated? I noticed on the Configuration/Settings/Poller there are some additional values on the new system compared to the old. But it looks like a match for the settings with the same names.
I tried the Rebuild Poller Cache and Rebuild Resource Cache options in the System Utilities, but this didn't seem to help either.
I'm seeing no errors in the logs.

Any help would be appreciated.
Thanks!
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Migration from 0.8.8b to 1.2.25, graphs not updating with new data

Post by macan »

file permission and rra directory permission, user who started poller needs permission to rra directory and all files
Let the Cacti grow!
joseph85750
Posts: 7
Joined: Wed Nov 15, 2023 9:25 am

Re: Migration from 0.8.8b to 1.2.25, graphs not updating with new data

Post by joseph85750 »

Turned out to be the cron script not running properly.
Thanks!
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Migration from 0.8.8b to 1.2.25, graphs not updating with new data

Post by TheWitness »

I've moved everything to cactid now (systemd service) myself.
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?
ataha
Posts: 28
Joined: Mon Dec 04, 2023 8:48 am

Re: Migration from 0.8.8b to 1.2.25, graphs not updating with new data

Post by ataha »

same problem
when i check the logs

2023-12-04 16:50:44 - SYSTEM MAINT STATS: Time:0.01
2023-12-04 16:50:44 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
2023-12-04 16:50:44 - SYSTEM STATS: Time:42.3624 Method:cmd.php Processes:10 Threads:1 Hosts:112 HostsPerProcess:12 DataSources:4496 RRDsProcessed:117
2023-12-04 16:45:46 - SYSTEM MAINT STATS: Time:0.01
2023-12-04 16:45:45 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
2023-12-04 16:45:45 - SYSTEM STATS: Time:43.3543 Method:cmd.php Processes:10 Threads:1 Hosts:112 HostsPerProcess:12 DataSources:4496 RRDsProcessed:117
2023-12-04 16:40:44 - SYSTEM MAINT STATS: Time:0.01
2023-12-04 16:40:43 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
2023-12-04 16:40:43 - SYSTEM STATS: Time:42.3583 Method:cmd.php Processes:10 Threads:1 Hosts:112 HostsPerProcess:12 DataSources:4496 RRDsProcessed:117
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Migration from 0.8.8b to 1.2.25, graphs not updating with new data

Post by cigamit »

You should be able to disable the SNMP Agent warning by going to Settings > Poller > SNMP Agent Support Enabled, and disable it.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests