Plugin Management is gone on Cacti Version 0.8.8a

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
User avatar
banyezdemah
Posts: 44
Joined: Thu May 21, 2009 1:55 am
Location: Iran/Karaj
Contact:

Plugin Management is gone on Cacti Version 0.8.8a

Post by banyezdemah »

Hi

I am using Cacti Version 0.8.8a
When I installed it for first time, the "Plugin Management" button was there, I just import some MikroTik templates after the installation and decided to use some plugins. For example monitor plugin. I did the whole steps and I copied the monitor folder under /usr/local/share/cacti/plugins/ and also I edited the config.php as following:

$plugins = array();
$plugins[] = 'monitor';
$url_path = "/cacti/";

But the problem is there is no "Plugin Management" button on the left anymore. I do not know how it is gone !!!
Anyone can help me ?!

Regards
Attachments
cacti.jpg
cacti.jpg (63.61 KiB) Viewed 11408 times
Hamed Kazemian
Do Not Hesitate To Contact Me
Cell Phone : +989125019852
Email Address: hamed.kazemian@gmail.com
Full Time – Partnership
User avatar
banyezdemah
Posts: 44
Joined: Thu May 21, 2009 1:55 am
Location: Iran/Karaj
Contact:

Re: Plugin Management is gone on Cacti Version 0.8.8a

Post by banyezdemah »

Anyone ?!
Hamed Kazemian
Do Not Hesitate To Contact Me
Cell Phone : +989125019852
Email Address: hamed.kazemian@gmail.com
Full Time – Partnership
User avatar
websniper
Posts: 11
Joined: Tue Jun 05, 2012 9:42 am

Re: Plugin Management is gone on Cacti Version 0.8.8a

Post by websniper »

Hmmm - I am having similar issues but on mine I can see plugin management under configuration. Make sure to go to User Management and give your user permission to control Plugin Management. Then you should be at the same point as me. I cannot get the plugins to show on the plugin management page or the permissions page as shown in the documentation. I have done all that I was told. /var/www/cacti/plugins/ has two folders: monitor and settings, both were unpacked properly and seem to be ready to work. Permissions all seem good. I will keep hacking at it until someone saves my ars.

Heeeeelllllpppppp.
Thanks.
"Knowledge can be dangerous in the wrong hands, wisdom must be added to protect the idiots!" -- me
User avatar
websniper
Posts: 11
Joined: Tue Jun 05, 2012 9:42 am

Re: Plugin Management is gone on Cacti Version 0.8.8a

Post by websniper »

I finally figured out that my issue was permission related and 0.8.8a seems to be awesome.
"Knowledge can be dangerous in the wrong hands, wisdom must be added to protect the idiots!" -- me
User avatar
banyezdemah
Posts: 44
Joined: Thu May 21, 2009 1:55 am
Location: Iran/Karaj
Contact:

Re: Plugin Management is gone on Cacti Version 0.8.8a

Post by banyezdemah »

I'm so curious that how you solved your problem?! Permission?!
Interesting ...
I solved my problem in other way.
I just did backup from mysql and install cacti again and then I did import the database to the mysql again and it was solved.
Hamed Kazemian
Do Not Hesitate To Contact Me
Cell Phone : +989125019852
Email Address: hamed.kazemian@gmail.com
Full Time – Partnership
User avatar
websniper
Posts: 11
Joined: Tue Jun 05, 2012 9:42 am

Re: Plugin Management is gone on Cacti Version 0.8.8a

Post by websniper »

I set permissions on all plugin folders to 755 or rwxr-xr-x and made sure each plugin was allowed to be controlled by my user, admin.
"Knowledge can be dangerous in the wrong hands, wisdom must be added to protect the idiots!" -- me
User avatar
banyezdemah
Posts: 44
Joined: Thu May 21, 2009 1:55 am
Location: Iran/Karaj
Contact:

Re: Plugin Management is gone on Cacti Version 0.8.8a

Post by banyezdemah »

I did it too when I had this problem, I also did :

chown -R root:wheel plugins/

But nothing happened ;)
Hamed Kazemian
Do Not Hesitate To Contact Me
Cell Phone : +989125019852
Email Address: hamed.kazemian@gmail.com
Full Time – Partnership
JJX
Cacti User
Posts: 402
Joined: Thu Oct 06, 2005 5:03 am

Re: Plugin Management is gone on Cacti Version 0.8.8a

Post by JJX »

Where did you download plugin architecture for version 0.8.8a?

Thank you
cacti rulez!
AllertGen
Posts: 37
Joined: Mon Mar 26, 2012 1:27 pm

Re: Plugin Management is gone on Cacti Version 0.8.8a

Post by AllertGen »

In release 0.8.8a PIA installed by default. And you no need to edit config.php or global.php for installing plugins. All what you need is copy you files with plugin to plugins folder, change owner of files and go to WI of cacti to activate it.
I think main problem in this topic is editing config.php. Just delete all your changes.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Plugin Management is gone on Cacti Version 0.8.8a

Post by gandalf »

+1; always use latest config.php and only enter required modifications
R.
unk
Posts: 6
Joined: Tue Jun 07, 2011 7:22 am

Re: Plugin Management is gone on Cacti Version 0.8.8a

Post by unk »

I run Debian 6.0.
I have the problem that the realm permission for user admin and guest, "Plugin Architecture" is unavailable to mark on the users.
Did apt-get cacti cacti-spine etc. also followed the 'README.plugins' "http://anonscm.debian.org/gitweb/?p=pkg ... b7d0df62b3"

root@com:/var/www/cacti# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 6.0.5 (squeeze)
Release: 6.0.5
Codename: squeeze

All files and folders (should) have permission:
drwxr-xr-x 3 root www-data

root@com:/usr/share/cacti/site/plugins# ls -lh
total 4.0K
drwxr-xr-x 3 root www-data 4.0K Dec 21 2011 discovery

root@com:/var/www/cacti# ls -lah
total 840K
drwxr-xr-x 8 root www-data 4.0K Sep 14 18:29 .
drwxr-xr-x 5 root www-data 4.0K Sep 12 16:15 ..
-rwxr-xr-x 1 root www-data 6.1K Jul 10 2010 about.php
-rwxr-xr-x 1 root www-data 5.0K Jul 10 2010 auth_changepassword.php
-rwxr-xr-x 1 root www-data 13K Jan 8 2012 auth_login.php
-rwxr-xr-x 1 root www-data 22K Jul 10 2010 cdef.php
-rwxr-xr-x 1 root www-data 20K Jul 10 2010 cmd.php
-rwxr-xr-x 1 root www-data 6.9K Jul 10 2010 color.php
-rwxr-xr-x 1 root www-data 25K Jul 10 2010 data_input.php
-rwxr-xr-x 1 root www-data 35K Jul 10 2010 data_queries.php
-rwxr-xr-x 1 root www-data 57K Jan 8 2012 data_sources.php
-rwxr-xr-x 1 root www-data 33K Jul 10 2010 data_templates.php
drwxr-xr-x 2 root www-data 4.0K Sep 12 16:15 docs
-rwxr-xr-x 1 root www-data 6.0K Jul 10 2010 gprint_presets.php
-rwxr-xr-x 1 root www-data 3.4K Jul 10 2010 graph_image.php
-rwxr-xr-x 1 root www-data 12K Jul 10 2010 graph.php
-rwxr-xr-x 1 root www-data 7.7K Jul 10 2010 graph_settings.php
-rwxr-xr-x 1 root www-data 18K Jul 10 2010 graphs_items.php
-rwxr-xr-x 1 root www-data 39K Jul 10 2010 graphs_new.php
-rwxr-xr-x 1 root www-data 59K Jan 8 2012 graphs.php
-rwxr-xr-x 1 root www-data 9.8K Jul 10 2010 graph_templates_inputs.php
-rwxr-xr-x 1 root www-data 19K Jul 10 2010 graph_templates_items.php
-rwxr-xr-x 1 root www-data 26K Jul 10 2010 graph_templates.php
-rwxr-xr-x 1 root www-data 38K Jan 8 2012 graph_view.php
-rwxr-xr-x 1 root www-data 5.8K Jul 10 2010 graph_xport.php
-rwxr-xr-x 1 root www-data 56K Jul 10 2010 host.php
-rwxr-xr-x 1 root www-data 20K Jul 10 2010 host_templates.php
drwxr-xr-x 2 root www-data 4.0K Sep 12 16:15 images
drwxr-xr-x 4 root www-data 4.0K Sep 14 17:53 include
-rwxr-xr-x 1 root www-data 2.2K Jul 10 2010 index.php
drwxr-xr-x 2 root www-data 4.0K Sep 12 16:15 install
drwxr-xr-x 2 root www-data 4.0K Sep 14 18:29 lib
-rwxr-xr-x 1 root www-data 2.6K Jul 10 2010 logout.php
lrwxrwxrwx 1 root root 30 Sep 14 18:29 plugins -> /usr/local/share/cacti/plugins
-rwxr-xr-x 1 root www-data 4.3K Jul 10 2010 poller_commands.php
-rwxr-xr-x 1 root www-data 2.2K Jul 10 2010 poller_export.php
-rwxr-xr-x 1 root www-data 18K Jul 10 2010 poller.php
-rwxr-xr-x 1 root www-data 7.1K Jul 10 2010 rra.php
drwxr-xr-x 2 root www-data 4.0K Sep 12 16:15 scripts
-rwxr-xr-x 1 root www-data 11K Jan 8 2012 script_server.php
-rwxr-xr-x 1 root www-data 4.9K Jul 10 2010 settings.php
-rwxr-xr-x 1 root www-data 6.0K Jul 10 2010 templates_export.php
-rwxr-xr-x 1 root www-data 6.4K Jul 10 2010 templates_import.php
-rwxr-xr-x 1 root www-data 19K Jul 10 2010 tree.php
-rwxr-xr-x 1 root www-data 44K Jul 10 2010 user_admin.php
-rwxr-xr-x 1 root www-data 64K Jul 10 2010 utilities.php

Image

No errors in cacti.log.

From what i've understand no configurationfiles needs to be edited for the links to files to be successful.

Thanks for answers.
Options? Restart from Source and unpack it under /var/www/ ?

NOTE:
root@com:/var/www/cacti# aptitude versions cacti
i 0.8.7g-1+squeeze1

Fail

I will download the source or install PIA for 0.8.7g.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests