Threshold crashing after update to 1.2.23

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
hipsterdoofus
Cacti User
Posts: 87
Joined: Fri Mar 09, 2007 12:35 pm

Threshold crashing after update to 1.2.23

Post by hipsterdoofus »

Hey all,

I updated to 1.2.23 yesterday. I am running thold 1.6, but after it runs briefly, it crashes with the following errors. I've re-installed thold and tried to check everything I can think of but it is still crashing. I can provide other information needed, but this is what is showing up in my logs - I appreciate your assistance:

2023/01/25 09:45:29 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'thold'
2023/01/25 09:45:29 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2023/01/25 09:45:29 - ERROR PHP ERROR in Plugin 'thold': Uncaught DivisionByZeroError: Division by zero in /var/www/html/cacti-1.2.23/plugins/thold/thold_functions.php:3742 Stack trace: #0 /var/www/html/cacti-1.2.23/plugins/thold/thold_functions.php(2256): thold_format_number() #1 /var/www/html/cacti-1.2.23/plugins/thold/includes/polling.php(441): thold_check_threshold() #2 /var/www/html/cacti-1.2.23/plugins/thold/includes/polling.php(47): thold_check_all_thresholds() #3 /var/www/html/cacti-1.2.23/lib/plugins.php(225): thold_poller_bottom() #4 /var/www/html/cacti-1.2.23/lib/plugins.php(83): api_plugin_run_plugin_hook() #5 /var/www/html/cacti-1.2.23/poller.php(825): api_plugin_hook() #6 {main} thrown in file: /var/www/html/cacti-1.2.23/plugins/thold/thold_functions.php on line: 3742
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Threshold crashing after update to 1.2.23

Post by TheWitness »

Are you running the develop thold?
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?
hipsterdoofus
Cacti User
Posts: 87
Joined: Fri Mar 09, 2007 12:35 pm

Re: Threshold crashing after update to 1.2.23

Post by hipsterdoofus »

It may be. In cacti under plugs it shows version 1.6.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Threshold crashing after update to 1.2.23

Post by TheWitness »

How did you download and install it? How long ago was that?
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?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Threshold crashing after update to 1.2.23

Post by TheWitness »

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?
hipsterdoofus
Cacti User
Posts: 87
Joined: Fri Mar 09, 2007 12:35 pm

Re: Threshold crashing after update to 1.2.23

Post by hipsterdoofus »

It was Tuesday and I tried again Yesterday to do it again.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Threshold crashing after update to 1.2.23

Post by TheWitness »

Okay, that fix should fix the issue.
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?
hipsterdoofus
Cacti User
Posts: 87
Joined: Fri Mar 09, 2007 12:35 pm

Re: Threshold crashing after update to 1.2.23

Post by hipsterdoofus »

That does appear to have fixed it. Thanks so much!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest