graphs are not updating

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

Moderators: Developers, Moderators

Post Reply
habeebth
Posts: 7
Joined: Wed May 22, 2024 12:46 pm

graphs are not updating

Post by habeebth »

Ubuntu 22.04
PHP 8.1.2-1ubuntu2.17
mariadb: Server version: 10.6.16
cacti: 1.2.27

Installed new cacti and migrated data from very old centos 6.7 server.

troubleshooting eror:
Debug not completed after 5 pollings Failed fields: rra_timestamp2 RRDfile not updated after polling.


root@ops-cacti-nms:/etc# cat /etc/cron.d/cacti
*/5 * * * * www-data php /var/www/html/cacti/poller.php &>/dev/null
root@ops-cacti-nms:/etc#

www-data the owner of all recursive rrd files inside rra folder.

drwxr-xr-x 3 www-data www-data 4210688 May 22 20:34 rra

some screenshots attached.

all services, apache, mysql, cron are running
Attachments
troubl.png
troubl.png (124.78 KiB) Viewed 1345 times
no new data.png
no new data.png (372.76 KiB) Viewed 1345 times
devices up.png
devices up.png (88.99 KiB) Viewed 1346 times
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: graphs are not updating

Post by macan »

selinux or apparmor?
Try to disable it
Let the Cacti grow!
habeebth
Posts: 7
Joined: Wed May 22, 2024 12:46 pm

Re: graphs are not updating

Post by habeebth »

selinux is already disabled, however the apparmor was running, disabled it.

waiting for the new data
habeebth
Posts: 7
Joined: Wed May 22, 2024 12:46 pm

Re: graphs are not updating

Post by habeebth »

Still no change... It is still not plotting any graphs.

My spine was 1.2.19, updated to 1.2.27.
habeebth
Posts: 7
Joined: Wed May 22, 2024 12:46 pm

Re: graphs are not updating

Post by habeebth »

I think i have managed to fix this by reimporting the rrd files again from old server, will update the final result soon.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: graphs are not updating

Post by TheWitness »

Did any paths change? Check the poller cache. Also, if boost is off, disable cactid and run poller.php with the force option from the command line.

If boost is on, make sure data is accumulating in the table poller_output_boost.
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?
habeebth
Posts: 7
Joined: Wed May 22, 2024 12:46 pm

Re: graphs are not updating

Post by habeebth »

Thanks Macan & TheWitness.

After importing new rrd file,s it started plotting graphs. Meanwhile i want to know the compatible "realtime" plugin for the latest version 1.2.27.

I don't see any downloadable link.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: graphs are not updating

Post by TheWitness »

Realtime is in the base for several years.
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?
habeebth
Posts: 7
Joined: Wed May 22, 2024 12:46 pm

Re: graphs are not updating

Post by habeebth »

Thanks TheWitness.

I got it working. I have one issue where the "time graph view" plotting duplicate graph lines instead of just two inbound & outbound.

Graph settings:
Inbound Green (Line1-Max & Area - Average)
Outbound Blue (Line1-Max)

However we see the additional graph for inbound traffic on daily, weekly & monthly graphs. An Additional line for inbound traffic.

Screenshot is attached.

expected graph out put screenshot is attached
Attachments
desired out put with two graphs - green filled inbound & blue line outbound
desired out put with two graphs - green filled inbound & blue line outbound
expected graph.png (385.46 KiB) Viewed 1198 times
template-3.png
template-3.png (103.85 KiB) Viewed 1198 times
template-2.png
template-2.png (125.66 KiB) Viewed 1198 times
template-1.png
template-1.png (154.19 KiB) Viewed 1198 times
two inbound graphs - filled & line
two inbound graphs - filled & line
timegraph.png (607.88 KiB) Viewed 1198 times
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: graphs are not updating

Post by TheWitness »

Make sure graphs are 64 bit. Also, in realtime, if you poll too often, you will get these choppy graphs as not all manufactures provide live data. Instead it's cached on the switch or router, which means if you poll to frequently, the graph will get those chopps.

Consult with you device manufacturer for that cache interval. With Net-SNMP, it used to be 15 seconds.
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest