graphs are not updating
Moderators: Developers, Moderators
graphs are not updating
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
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 (124.78 KiB) Viewed 1344 times
-
- no new data.png (372.76 KiB) Viewed 1344 times
-
- devices up.png (88.99 KiB) Viewed 1345 times
Re: graphs are not updating
selinux is already disabled, however the apparmor was running, disabled it.
waiting for the new data
waiting for the new data
Re: graphs are not updating
Still no change... It is still not plotting any graphs.
My spine was 1.2.19, updated to 1.2.27.
My spine was 1.2.19, updated to 1.2.27.
Re: graphs are not updating
I think i have managed to fix this by reimporting the rrd files again from old server, will update the final result soon.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: graphs are not updating
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.
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?
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?
Re: graphs are not updating
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.
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.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: graphs are not updating
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?
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?
Re: graphs are not updating
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
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
- expected graph.png (385.46 KiB) Viewed 1197 times
-
- template-3.png (103.85 KiB) Viewed 1197 times
-
- template-2.png (125.66 KiB) Viewed 1197 times
-
- template-1.png (154.19 KiB) Viewed 1197 times
-
- two inbound graphs - filled & line
- timegraph.png (607.88 KiB) Viewed 1197 times
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: graphs are not updating
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.
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?
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?
Who is online
Users browsing this forum: No registered users and 1 guest