Don't see plugins

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
digdoug
Posts: 10
Joined: Tue Sep 20, 2005 3:27 pm

Don't see plugins

Post by digdoug »

I think i've got the PIA install right. I have a Plugin Management item under Configuration, it's just that when I navigate there, no plugins are found. Mine's a Red Hat box, so the Cacti install dir (it's an EPEL package) is /usr/share/cacti. I installed the plugin I wish to use in /usr/share/cacti/plugins/aggregate.

Versions:

(Cacti Version: 0.8.7g, Plugin Architecture Version: 2.8 )

Here's what I put in my config.php:

/* load up old style plugins here */
$plugins = array();
//$plugins[] = 'thold';
$url_path = "/cacti/";

Anyone have any ideas?
DW
digdoug
Posts: 10
Joined: Tue Sep 20, 2005 3:27 pm

Re: Don't see plugins

Post by digdoug »

Ok,
I changed

/usr/share/cacti/plugins/aggregate-070B2

to

/usr/share/cacti/plugins/aggregate

and I now see it on the Plugins Management page. So I'm guessing the directory name has to match the plugin name for things to work. If so, it's a shame the tarball was created with this errant pathname. Anyway, happy now.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Don't see plugins

Post by gandalf »

It is a general recommendation not to store a second directory like "aggregate*" along with "aggregate" or use "aggregate*" instead of "aggregate".
The same holds for all plugins
R.
rafaelcaracara
Posts: 2
Joined: Thu May 21, 2009 1:41 pm

Re: Don't see plugins

Post by rafaelcaracara »

digdoug wrote:I think i've got the PIA install right. I have a Plugin Management item under Configuration, it's just that when I navigate there, no plugins are found. Mine's a Red Hat box, so the Cacti install dir (it's an EPEL package) is /usr/share/cacti. I installed the plugin I wish to use in /usr/share/cacti/plugins/aggregate.

Versions:

(Cacti Version: 0.8.7g, Plugin Architecture Version: 2.8 )

Here's what I put in my config.php:

/* load up old style plugins here */
$plugins = array();
//$plugins[] = 'thold';
$url_path = "/cacti/";

Anyone have any ideas?
DW
I have same problem, but my config.php have:
/* load up old style plugins here */
$plugins = array();
$plugins[] = 'aggregate';
//$plugins[] = 'thold';
$url_path = "/cacti/";

My "Plugin Management" have only a message:
No Plugins Found

How to fix?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Don't see plugins

Post by TheWitness »

Checking the apache error log tends to lend on advice on these things.
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