No Plugins Found

Support for the Plugin Architecture

Moderators: Developers, Moderators

jhmiller3
Posts: 20
Joined: Mon Oct 24, 2011 9:50 am

No Plugins Found

Post by jhmiller3 »

I have Cacti Version: 0.8.7g, Plugin Architecture Version: 2.9 and have downloaded realtime and settings, but am getting the No Plugins Found messang in Plugin Management. This is a Red Hat install, so the path for cacti is /usr/share/cacti.

I believe I have followed all of the instructions for installing the plugins, and have looked through some of the past posts, but have not found the solution to my problem.

Since I am no guru at Linux, please let me know what additional information I can provide to help in finding a solution. Also, please let me know where else I can look to see what errors might be popping up.

Thanks - John
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: No Plugins Found

Post by TheWitness »

True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
jhmiller3
Posts: 20
Joined: Mon Oct 24, 2011 9:50 am

Re: No Plugins Found

Post by jhmiller3 »

Thanks. Yes, I followed all steps to the letter (except for the typo in the monitor extraction line. zvxf, not zvcf), but did not list the plugins in the config.php file as I read that this is no longer necessary. Is that my problem? Do I actually need to put plugins in config.php, as per the instructions you pointed to? What else can I post to help resolve this?

Again, many thanks - John
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: No Plugins Found

Post by gandalf »

The new PIA does not require any plugin to be entered in config.php.
But please be careful not to have any <plugin> twice in the plugins folder; once as <plugin> and once as <plugin>-sth or the like
R.
jhmiller3
Posts: 20
Joined: Mon Oct 24, 2011 9:50 am

Re: No Plugins Found

Post by jhmiller3 »

gandalf wrote:The new PIA does not require any plugin to be entered in config.php.
But please be careful not to have any <plugin> twice in the plugins folder; once as <plugin> and once as <plugin>-sth or the like
R.
OK, understood on config.php.

There are no duplicated folders.

# cd /usr/share/cacti/plugins
# ls -al
total 20
drwxr-xr-x. 4 root root 4096 Oct 21 18:21 .
drwxr-xr-x. 10 root root 4096 Oct 24 14:09 ..
-rw-r--r--. 1 root root 44 Oct 20 12:23 index.php
drwxr-xr-x. 2 root root 4096 Sep 1 2010 realtime
drwxr-xr-x. 3 root root 4096 Sep 25 09:45 settings

Thanks - John
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: No Plugins Found

Post by TheWitness »

Check your Cacti.log for some clues. Make sure your Admin account has access to the Plugin Management realm.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
jhmiller3
Posts: 20
Joined: Mon Oct 24, 2011 9:50 am

Re: No Plugins Found

Post by jhmiller3 »

If you mean the check box in user management, then yes it is checked. I can get to the Plugin Management screen, it is just telling me that there are no plugins found.

I could not find anything in cacti.log indicating any issue with plugins.

I have seen some mention of permissions. Do the plugin files need to be '777' (sorry if that isn't correct Linux format. As I said, not a guru here.) :-)

Thanks - John
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: No Plugins Found

Post by TheWitness »

Screen shot please.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
jhmiller3
Posts: 20
Joined: Mon Oct 24, 2011 9:50 am

Re: No Plugins Found

Post by jhmiller3 »

Here is the screen shot of Plugin Management.

Also, I had someone look at the code and he wanted me to ask this. It looks like the list of plugin directories is obtained from the plugin_config table, but that table is empty. How does this table get populated?

Thanks - John
Attachments
CactiPluginError1.png
CactiPluginError1.png (138.95 KiB) Viewed 10792 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: No Plugins Found

Post by TheWitness »

There are a few things that can cause this:

1) You don't have 'create temporary table' permissions in mysql. You Cacti log would be littered with error messages
2) You don't have proper file permissions to the plugin directories 'setup.php' files (and likely others).
3) You don't have any plugins properly installed into the 'plugins' folder.
4) You don't have a plugins folder... :)

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
jhmiller3
Posts: 20
Joined: Mon Oct 24, 2011 9:50 am

Re: No Plugins Found

Post by jhmiller3 »

TheWitness wrote:There are a few things that can cause this:

1) You don't have 'create temporary table' permissions in mysql. You Cacti log would be littered with error messages
2) You don't have proper file permissions to the plugin directories 'setup.php' files (and likely others).
3) You don't have any plugins properly installed into the 'plugins' folder.
4) You don't have a plugins folder... :)

TheWitness
1) cacti.log file is not showing any errors
2) OK, we will look at all the permissions again and, if necessary to help figure this out, will '777' everything
3) Well, the files are there. Unless there are some hidden characters in the file names I am not sure how this could not be correct. See below for further question on that.
4) :o ... No, just kidding. Obviously the 'plugins' folder is there.

I should have pointed this out earlier, but I do actually have Cacti working on another system where plugins are installed and running. It was set up by a former student, but only on a temporary configuration. We are now trying to get it installed on a more permanent server. The application is running well, it is just plugins I am strugglling with. Permissions between the two systems seem to be in sync. (Old system has PIA 2.8, new has 2.9 - only difference) The one thing we noticed, as mentioned in my last post, is that the plugins_config table in the new system has no entries. I am assuming that this is a process that is automatic (since there is no mention of this in the plugin installation instructions) and that it is the root of our issue, but I do not see any errors where the population of this table was tried but failed. Could this be a permission problem (if so, where) or is it because the software is not seeing any plugins and, therefore, not trying to populate the table? What is the software looking for to determine that there are plugins in the plugins folder?

Again, many thanks for your time on this. I realize it is hard dealing with a novice, so I appreciate your patience. - John
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: No Plugins Found

Post by gandalf »

The table should indded not be empty. Please show us a dump of the filled table from the working installation. You will likely copy two specific entries from that to your current installation
R.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: No Plugins Found

Post by TheWitness »

You might want to do this as well:

Code: Select all

cd <cacti_base_path>/plugins
find . -type f -ls
Post what you find. In each '<plugin>' directory, you will find a setup.php file. When we build the plugin interface, we read that file. If it's not found, of course we will not find any plugins.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
jhmiller3
Posts: 20
Joined: Mon Oct 24, 2011 9:50 am

Re: No Plugins Found

Post by jhmiller3 »

Well, now I am not sure what to think. We got it working, but not exactly sure how or why. Let me go over the steps we did from the beginning and maybe you will see something. I will just use realtime as an example.

• Downloaded realtime to my pc from the link on cacti.net.
• Moved realtime to the cacti server using winscp, placing it in my home directory (/home/miller/download)
• Logged in to cacti server as root
• Extracted the archive
o tar –zvxf realtime—v0.43-1.tgz
• Moved the realtime directory to /usr/share/cacti/plugins
o mv realtime /usr/share/cacti/plugins/ .

It was at this point that I looked at the Plugin Management and saw “No Plugins Found” message. Afterall the back and forth between us and trying everything we thought it might be, what we did was to tar the files right there in the plugins directory, remove the realtime directory, and un tar the files, thus creating realtime again, just without the move. At that point realtime showed up in Plugin Management.

So, any thoughts as to why the original sequence (with the mv) didn’t work?

Thanks - John
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: No Plugins Found

Post by TheWitness »

QMealtime 0.51 has been released.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests