Plugins problems
Moderators: Developers, Moderators
Plugins problems
I've downloaded the latest Cacti version (0.8.8 ) from the website last week.
I've read that i don't need to install PIA because it's invluded inside the Cacti 0.8.8.
Now i'm trying to install some plugins (Weathermap, thold, realtime), so i've downloaded the files, extracted them and moved them to /var/www/html/cacti/plugins
Now I have no idea why, but i can't see them in the Plugin Management inside Cacti.
Can anyone please help me? maybe i'm missing something?
I've read that i don't need to install PIA because it's invluded inside the Cacti 0.8.8.
Now i'm trying to install some plugins (Weathermap, thold, realtime), so i've downloaded the files, extracted them and moved them to /var/www/html/cacti/plugins
Now I have no idea why, but i can't see them in the Plugin Management inside Cacti.
Can anyone please help me? maybe i'm missing something?
Re: Plugins problems
1st, check the permissions on the plugin folders, make sure them and all files under then are readable by the webserver.
2nd, check and ensure the folder names are correct (ex: thold plugins folder name should be "thold" and the setup.php files should be directly under that folder)
2nd, check and ensure the folder names are correct (ex: thold plugins folder name should be "thold" and the setup.php files should be directly under that folder)
Re: Plugins problems
I have the same problem as the OP, does the plugins directory need the same owner as rra, or as the rest of the cacti files?
I am trying to install rrdclean, and I double checked, it is the only folder inside /var/www/cacti/plugins/, and there exists a /var/www/cacti/plugins/setup.php with the below function (and others) inside:
I am trying to install rrdclean, and I double checked, it is the only folder inside /var/www/cacti/plugins/, and there exists a /var/www/cacti/plugins/setup.php with the below function (and others) inside:
Code: Select all
function plugin_rrdclean_install () {
api_plugin_register_hook('rrdclean', 'config_arrays', 'rrdclean_config_arrays', 'setup.php');
api_plugin_register_hook('rrdclean', 'draw_navigation_text', 'rrdclean_draw_navigation_text', 'setup.php');
api_plugin_register_hook('rrdclean', 'config_settings', 'rrdclean_config_settings', 'setup.php');
api_plugin_register_hook('rrdclean', 'poller_bottom', 'rrdclean_poller_bottom', 'setup.php');
rrdclean_setup_table_new ();
}
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Plugins problems
That's strange. It should be /var/www/cacti/plugins/rrdclean/setup.phpmabelrxu wrote:and there exists a /var/www/cacti/plugins/setup.php with the below function (and others) inside:
R.
Re: Plugins problems
sorry, I mistyped ... when I do I have
I think my main problem is this:
what populates the plugin_config database table?
Code: Select all
ls -al plugins/rrdclean/
Code: Select all
drwxrwxr-x. 2 root root 4096 Dec 14 2010 .
drwxrwxr-x. 3 root root 4096 Aug 23 09:12 ..
-rw-rw-r--. 1 root root 1117 Nov 18 2010 inc_rrdclean_filter_table.php
-rw-rw-r--. 1 root root 15237 Nov 18 2010 LICENSE
-rw-rw-r--. 1 root root 3157 Dec 14 2010 README
-rw-rw-r--. 1 root root 18813 Dec 14 2010 rrdcleaner.php
-rw-rw-r--. 1 root root 10754 Dec 14 2010 rrdmove.php
-rw-rw-r--. 1 root root 7330 Dec 14 2010 setup.php
Code: Select all
mysql> select * from plugin_config;
Empty set (0.00 sec)
Re: Plugins problems
I have no plugins detected, despite the below:
any thoughts?
Code: Select all
ls -al plugins/
total 16
drwxrwxr-x. 3 root root 4096 Aug 23 09:12 .
drwxr-xr-x. 13 root root 4096 Aug 23 09:06 ..
-rw-r--r--. 1 root root 45 Aug 23 09:04 index.php
drwxrwxr-x. 2 root root 4096 Dec 14 2010 rrdclean
- Attachments
-
- Untitled.png (193.14 KiB) Viewed 16065 times
Re: Plugins problems
fixed it by upgrading from 0.8.8a to 0.8.8b. lol
Who is online
Users browsing this forum: No registered users and 2 guests