thold disables when I try to click any thold item

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
shadv
Posts: 30
Joined: Fri Mar 17, 2017 11:22 pm

thold disables when I try to click any thold item

Post by shadv »

I have cacti 1.0.6 installed and working on ubuntu 16.04 using Apache2/PHP 7

Any time I try to click on the thresholds tab or button, thold disables with this error:

2017-03-17 23:20:23 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'thold'
2017-03-17 23:20:23 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4303 cacti_debug_backtrace)
thrown in file: <cacti location>/thold/thold.php on line: 406
#1 {main}
#0 <cacti location>/thold/thold.php(126): list_tholds()
Stack trace:
2017-03-17 23:20:23 - ERROR PHP ERROR in Plugin 'thold': Uncaught Error: Call to undefined function get_order_string() in <cacti location>/thold/thold.php:406
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: thold disables when I try to click any thold item

Post by cigamit »

You updated to the latest thold in GIT without updating to the latest Cacti in GIT. New functionality was just added a few few hours ago that will require either the latest git, or wait until Cacti v1.0.7 this weekend.
shadv
Posts: 30
Joined: Fri Mar 17, 2017 11:22 pm

Re: thold disables when I try to click any thold item

Post by shadv »

Thank you for the fast reply.

I could not find any version compatibility list for thold, I will try it with 1.0.7 when it is released.

I am not yet fully familiar with Cacti, we just switched to it from a paid monitoring service. So far I like it, just have a few more things to work out. One of my servers will not show the network traffic, the graph shows up but it shows 0 for all the information.
Glass17
Posts: 7
Joined: Thu Mar 23, 2017 4:56 pm

Re: thold disables when I try to click any thold item

Post by Glass17 »

Got the same problem with Cacti 1.0.4 (epel repository) and thold plugin 1.0.1.
As we use cacti from Epel repository, upgrade to 1.0.7 is not option now.

How I can download the previous version of thold from GitHub and what version I need to install to avoid usage of get_order_string(); ???
Glass17
Posts: 7
Joined: Thu Mar 23, 2017 4:56 pm

Re: thold disables when I try to click any thold item

Post by Glass17 »

Successfully upgraded cacti to bersion 1.1.1 from "epel-testing" repo: sudo yum update cacti --enablerepo=epel-testing

Problems gone
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests