Poller overruns after 1.2.23 upgrade

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

Moderators: Developers, Moderators

tumnahi232
Posts: 2
Joined: Sun Nov 20, 2022 1:36 am

Re: Poller overruns after 1.2.23 upgrade

Post by tumnahi232 »

I'm getting the warning emails every minute.
netgear login

streaming app
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Poller overruns after 1.2.23 upgrade

Post by TheWitness »

Post them.
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?
jkrejci
Posts: 11
Joined: Mon Sep 27, 2010 9:44 am

Re: Poller overruns after 1.2.23 upgrade

Post by jkrejci »

After some unrelated fires to deal with I am finally able to circle back to this. I downloaded the latest versions of the two files you specified, dropped the arch boost tables in the DB, disabled the remote collector, disabled boost (config > settings > performance > disabled on-demand RRD updating is this the way to do disable boost?) and gave it a go.

Now when I go to graphs/trees, I get a 500 server error pop up window. Apache logs show this

Code: Select all

[Mon Mar 27 13:26:49.805465 2023] [php:error] [pid 23588] [client 2605:8400:0:11::face:f00d:45018] PHP Fatal error:  Uncaught Error: Undefined constant "CACTI_PATH_LIBRARY" in /var/www/html/cacti/lib/boost.php:343\nStack trace:\n#0 /var/www/html/cacti/lib/rrd.php(1307): boost_graph_cache_check()\n#1 /var/www/html/cacti/graph_json.php(159): rrdtool_function_graph()\n#2 {main}\n  thrown in /var/www/html/cacti/lib/boost.php on line 343, referer: https://<snip>/cacti/graph_view.php?action=tree&node=tbranch-21&host_id=3&site_id=-1&host_template_id=-1&hgd=&hyper=true
And the cacti.log shows

Code: Select all

log/cacti.log:2023-03-27 13:31:34 - ERROR PHP ERROR: Uncaught Error: Undefined constant "CACTI_PATH_LIBRARY" in /var/www/html/cacti/lib/boost.php:343 Stack trace: #0 /var/www/html/cacti/lib/rrd.php(1307): boost_graph_cache_check() #1 /var/www/html/cacti/graph_realtime.php(218): rrdtool_function_graph() #2 {main} thrown in file: /var/www/html/cacti/lib/boost.php on line: 343
After digging around in the latest entire dev snapshot, I see there is a new file "include/global_path.php" where that constant is newly defined but in my 1.2.24 download that file doesn't even exist and neither does that constant get defined anywhere else at all. I guess there must have been a number of new changes in the current dev of cacti that are notably incompatible with less than or equal to version 1.2.24 to be able to selectively use certain files from dev. I would guess I would have to run the entire dev version on my server which I am not too interested in running as I'd really like to get this cacti running in production ASAP and I'd rather run on a proper release version as I intend to have tens of thousands of devices monitored so I'd prefer a somewhat stable-ish version and not a dev snapshot. I'd be more inclined to just run several standalone cacti servers. If you have any additional thoughts, requests, things you want to me to try, etc. I would be happy to do so in the next day or so.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest