thold does not shows up anywhere(need help)

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
applez0718
Posts: 3
Joined: Mon Dec 06, 2010 3:04 am

thold does not shows up anywhere(need help)

Post by applez0718 »

I've did all the steps as per the install instructions, but thold does not shows up anywhere.

I enabled plugin management for my admin user and thold is not showing up in the list of installed plugins.
However the other plugins (monitor, settings) do show up.

Also try run:
[root@localhost extras]# php apply_realms.php
Threshold Viewing Realm: 100
Found 2 users
Updating Realm Permissions
..

No errors in cacti's log files too.

This URL http://IP/plugins/monitor/monitor.php is working well,
but when i open http://IP/plugins/thold/thold.php, i get the error information:
“You are not permitted to access this section of Cacti. If you feel that you need access to this particular section, please contact the Cacti administrator.”

Any help will be great appreciated!

------------------------------
Cacti Version - 0.8.7g
Plugin Architecture - 2.8
Plugins - monitor(0.8.2),settings(v0.7-1),thold(0.4.2)
Server Info - Linux 2.6.
znt
Posts: 2
Joined: Mon Dec 06, 2010 4:22 am

Re: thold does not shows up anywhere(need help)

Post by znt »

same problem here
php gives no error, notice or warning message


Cacti Version - 0.8.7g
Plugin Architecture - 2.8
Plugins - settings(v0.7-1),thold(0.4.2)
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: thold does not shows up anywhere(need help)

Post by cigamit »

Make sure you don't have
$plugin[] = 'thold';

in your config.php
applez0718
Posts: 3
Joined: Mon Dec 06, 2010 3:04 am

Re: thold does not shows up anywhere(need help)

Post by applez0718 »

I'm sure i don't add this line. This is part of my config.php configuration:

/* load up old style plugins here */
$plugins = array();
//$plugins[] = 'settings';
//$plugins[] = 'thold';
//$plugins[] = 'monitor';

Still this problem can't be resolved.
applez0718
Posts: 3
Joined: Mon Dec 06, 2010 3:04 am

Re: thold does not shows up anywhere(need help)

Post by applez0718 »

Question is resolved now.

I only reinstalled the plugs (include setting,thold,monitor). This time the monitor (the others works well) couldn't show. And when i accessed http://IP/plugins/monitor/monitor.php, i still got 'had no privilege' error. I check the 'console->Utilities->User Mangement->admin-> View Monitoring' , the question was resolved now. All plugs works well now.
znt
Posts: 2
Joined: Mon Dec 06, 2010 4:22 am

Re: thold does not shows up anywhere(need help)

Post by znt »

thanks a lot

this helped.

Changed config to

$plugins = array();
// $plugins[] = 'settings';
// $plugins[] = 'thold';

now it works.
maryg
Posts: 3
Joined: Wed Nov 24, 2010 1:13 pm

Re: thold does not shows up anywhere(need help)

Post by maryg »

I had the same problem.
go to you plugins folder and check the name of the thold plugin.
the name on my folder was thold-0.41
I renamed it to "thold" and it fixed the problem.
Hope this helps somebody with a similar issue.

Mary
mcsacks
Posts: 1
Joined: Tue Sep 27, 2011 7:35 am

Re: thold does not shows up anywhere(need help)

Post by mcsacks »

maryg wrote: I renamed it to "thold" and it fixed the problem.
Hope this helps somebody with a similar issue.
Thank you Mary this worked for me.
opornik
Posts: 15
Joined: Thu Apr 13, 2006 8:00 am
Location: Poland/Warsaw

Re: thold does not shows up anywhere(need help)

Post by opornik »

Hi,
I am using Cacti 0.8.7g with Plugin Architecture 2.9 and quite old Thold 3.0. And everything worked fine.

Now I wanted to upgrade to the latest Thold 0.4.8-4. I moved the /plugins/thold to /plugins/thold_old then unpacked new tar to /plugins/thold.
Now I have lost thold button in GUI and Thold settings in Configuration/Settings menu.
I tried to run setup.php, upgrade.php and apply_realms.php but nothing had helped.

What is the problem?

I still have in my config.php lines:
/* load up old style plugins here */
$plugins = array();
$plugins[] = 'settings';
$plugins[] = 'thold';
$plugins[] = 'cycle';
$plugins[] = 'killspike';

Otherwise other plugins are not working. Commenting above lines changed nothing with Thold.
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: thold does not shows up anywhere(need help)

Post by cigamit »

opornik wrote:Hi,
I am using Cacti 0.8.7g with Plugin Architecture 2.9 and quite old Thold 3.0. And everything worked fine.

Now I wanted to upgrade to the latest Thold 0.4.8-4. I moved the /plugins/thold to /plugins/thold_old then unpacked new tar to /plugins/thold.
Now I have lost thold button in GUI and Thold settings in Configuration/Settings menu.
I tried to run setup.php, upgrade.php and apply_realms.php but nothing had helped.

What is the problem?

I still have in my config.php lines:
/* load up old style plugins here */
$plugins = array();
$plugins[] = 'settings';
$plugins[] = 'thold';
$plugins[] = 'cycle';
$plugins[] = 'killspike';

Otherwise other plugins are not working. Commenting above lines changed nothing with Thold.
Delete (or move elsewhere) the old thold directory, it can not be in the plugin directory. Also, it is no longer added the old way via config.php, instead use the Plugin Management interface to enable it.
opornik
Posts: 15
Joined: Thu Apr 13, 2006 8:00 am
Location: Poland/Warsaw

Re: thold does not shows up anywhere(need help)

Post by opornik »

I have installed PA 2.9 but without importing pa.sql into database. Now I now how it should work :)
I executed the sql, removed plugin lines from config.php. Then added user permissions for Plugin Management and it appeared in the menu. So I could eneable all plugins there.
Maybe this will be the short guide for others.

Thanks for your help, I had no clue where to start.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests