Thresholds plugin not compatible with Cacti 1.1.2

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

Moderators: Developers, Moderators

Post Reply
agriffith
Posts: 11
Joined: Thu Apr 27, 2017 1:02 pm

Thresholds plugin not compatible with Cacti 1.1.2

Post by agriffith »

Good Day Cacti Family,

Im trying to install the cacti plugin through github link and when u do that it says that the plugin is not compatible
Im using Cacti version 1.1.2 and the thold 1.0.3
Is there another version i should be using?
Also, this is the link that i cloned
https://github.com/Cacti/plugin_thold.git
Attachments
Console -_ Plugin Management.png
Console -_ Plugin Management.png (24.88 KiB) Viewed 2299 times
User avatar
MoonDogg
Posts: 32
Joined: Thu Mar 16, 2017 8:43 am

Re: Thresholds plugin not compatible with Cacti 1.1.2

Post by MoonDogg »

I am using thold 1.02 with cacti 1.1.6 and it works fine. You can just edit the INFO file.

this line:

Code: Select all

compat = 1.1.4
to this

Code: Select all

compat = 1.1.2
Ubuntu 16.04.2 LTS
Cacti 1.1.17
Spine 1.1.17
RRDtool 1.5.5
PHP 7.0.18
mysql 14.14 (5.7.19)
Cycle 4.0
Monitor 2.1
Gexport 1.0
Thold 1.02
PHP Weathermap 0.98a
agriffith
Posts: 11
Joined: Thu Apr 27, 2017 1:02 pm

Re: Thresholds plugin not compatible with Cacti 1.1.2

Post by agriffith »

Thanks,
That worked but now i am getting the following error message in my logs.
2017-05-18 11:23:14 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'thold'
2017-05-18 11:23:14 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4333 cacti_debug_backtrace)
2017-05-18 11:23:14 - ERROR PHP ERROR in Plugin 'thold': Call to undefined function get_current_page() in file: /usr/share/cacti/plugins/thold/setup.php on line: 110

Any suggestions?
User avatar
MoonDogg
Posts: 32
Joined: Thu Mar 16, 2017 8:43 am

Re: Thresholds plugin not compatible with Cacti 1.1.2

Post by MoonDogg »

What OS and what version of PHP do you have installed?
Ubuntu 16.04.2 LTS
Cacti 1.1.17
Spine 1.1.17
RRDtool 1.5.5
PHP 7.0.18
mysql 14.14 (5.7.19)
Cycle 4.0
Monitor 2.1
Gexport 1.0
Thold 1.02
PHP Weathermap 0.98a
agriffith
Posts: 11
Joined: Thu Apr 27, 2017 1:02 pm

Re: Thresholds plugin not compatible with Cacti 1.1.2

Post by agriffith »

My apologies for the late reply.
Cacti Version 1.1.2
Cacti OS unix (Centos 7)
PHP Version 5.4.16
User avatar
MoonDogg
Posts: 32
Joined: Thu Mar 16, 2017 8:43 am

Re: Thresholds plugin not compatible with Cacti 1.1.2

Post by MoonDogg »

Check your setup.php file and see what is on line 110. In mine it shows this

Code: Select all

	global $config;
And that should not be causing that error... in fact I can't find that call in the setup.php file anywhere.
Ubuntu 16.04.2 LTS
Cacti 1.1.17
Spine 1.1.17
RRDtool 1.5.5
PHP 7.0.18
mysql 14.14 (5.7.19)
Cycle 4.0
Monitor 2.1
Gexport 1.0
Thold 1.02
PHP Weathermap 0.98a
agriffith
Posts: 11
Joined: Thu Apr 27, 2017 1:02 pm

Re: Thresholds plugin not compatible with Cacti 1.1.2

Post by agriffith »

Thanks alot for the information. Once i upgraded to cacti Version 1.1.6 i was able to load the plugins.
You have been really helpful :D
Much appreciated
User avatar
MoonDogg
Posts: 32
Joined: Thu Mar 16, 2017 8:43 am

Re: Thresholds plugin not compatible with Cacti 1.1.2

Post by MoonDogg »

agriffith wrote:Thanks alot for the information. Once i upgraded to cacti Version 1.1.6 i was able to load the plugins.
You have been really helpful :D
Much appreciated
Glad I could help and that you got yours working. 8)
Ubuntu 16.04.2 LTS
Cacti 1.1.17
Spine 1.1.17
RRDtool 1.5.5
PHP 7.0.18
mysql 14.14 (5.7.19)
Cycle 4.0
Monitor 2.1
Gexport 1.0
Thold 1.02
PHP Weathermap 0.98a
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests