thold installation today

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
xposix
Posts: 2
Joined: Fri Feb 20, 2015 12:51 pm

thold installation today

Post by xposix »

Hello gentlemen,

I'm trying to install thold 0.5 in Cacti 0.8.8b. I read it's compatible and it shouldn't be a problem, OK. The problem comes installing "Settings" which is shown as a cactus dependency.
I copied all the required files to /usr/share/cacti/plugins/settings (I manually created settings beforehand).

When I go to the Web UI / Configuration / Plugin Management the webpage comes blank.
If I go /var/log/httpd/error_log this is what I see:

Code: Select all

[Fri Feb 20 17:57:53 2015] [error] [client 10.xx.xx.xxx] PHP Fatal error:  Cannot redeclare plugin_settings_install() (previously declared in /usr/share/cacti/plugins/settings/setup.php:26) in /usr/share/cacti/plugins/setup.php on line 28, referer: https://cacti01.lon3.xxxx.local/cacti/index.php
which is right as I see that /usr/share/cacti/plugins/setup.php contains procedures with the same name than /usr/share/cacti/plugins/settings/setup.php

I already tried to access to the documentation links that http://docs.cacti.net/plugin:settings provides:
http://docs.cacti.net/lib/exe/fetch.php ... ureInstall
http://docs.cacti.net/lib/exe/fetch.php ... insInstall

but they are all dead links that forwards to the same page:
http://blog.cactiusers.org/
where I can't find the information I'm searching for. Does someone knows how to proceed from here?

Thanks!,
Ruben
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: thold installation today

Post by cigamit »

remove
/usr/share/cacti/plugins/setup.php

as there should never be a setup file directly in the plugins directory. Every plugin has its own directory, in this case, its
settings
and
thold
xposix
Posts: 2
Joined: Fri Feb 20, 2015 12:51 pm

Re: thold installation today

Post by xposix »

Great, I got it, I must have uncompressed the tar files in the wrong directory the first time I tried.

Thanks for your help!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests