Cacti wont install the aggregate plugin

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
st0kes
Posts: 17
Joined: Mon Oct 08, 2007 5:12 am

Cacti wont install the aggregate plugin

Post by st0kes »

Please could someone tell me where I am going wrong with this.

I downloaded aggregate 0.74 from here: http://docs.cacti.net/plugin:aggregate#aggregate

Extracted it and copied it to /var/www/html/cacti/plugins/aggregate on my Cacti server.

The README for this plugin explains:
----[ Prerequisites

Before you install Aggregate, you need to have met the following pre-requisites:

...
3) Cacti 0.8.7x requires Plugin Architecture V2.x.
I am using Cacti 0.8.7e and PIA 2.6.

Apparently I don't need to edit my includes/global.php to enable this to work. It doesn't matter whether I do it or not, the plugin never appears in "Plugin Management".

The files are chowned to root:root like the other plugins.

Since the plugin isn't installed here, it isn't available to add in the realm permissions (just pre-emting some of the possible responses)

Any ideas from anyone? :-?
Ben Stokes
[url]http://ukstokes.com/blog[/url]
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Did you import the pa.sql file into MySQL when you installed the plugin architecture?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

and please post to the existing thread for aggregate. You should e.g. find the current beta for it which will be published soon as a new official version (along with the docs I'm still working on)
R.
st0kes
Posts: 17
Joined: Mon Oct 08, 2007 5:12 am

Post by st0kes »

I didn't find an appropriate thread for my problem, which is why I started a new one. Please could you show me the link to it?
Ben Stokes
[url]http://ukstokes.com/blog[/url]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I'm loosing track ...
here's the current code; docs are OLD!
Current docs attached, but not yet finished
R.
Attachments
aggregate-v0.75beta.tgz
aggregate v0.75 beta
(1.18 MiB) Downloaded 102 times
aggregate_manual-v075beta.pdf
unfinished docs
(931.42 KiB) Downloaded 120 times
jwhitaker
Posts: 17
Joined: Sat Sep 11, 2010 11:24 pm
Contact:

Post by jwhitaker »

I have the same issue - Cacti 0.8.7g, PIA 2.8, aggregate plugin won't show up under Plugin Management. Tried this 0.75 beta, fairly certain I have followed the PIA instructions (pa.sql, copy plugin dir, etc)...
Last edited by jwhitaker on Sun Sep 19, 2010 2:03 pm, edited 2 times in total.
st0kes
Posts: 17
Joined: Mon Oct 08, 2007 5:12 am

Post by st0kes »

I've upgraded to PIA2.9-beta and and am trying aggregate-v0.75beta.

Good news is that after the PIA upgrade everything that was previously working, still is working.

Bad news is I still don't have an option to install the aggregate plugin from 'plugin management' though. It still doesn't appear in the list.

Is there anything else I can try?
Ben Stokes
[url]http://ukstokes.com/blog[/url]
st0kes
Posts: 17
Joined: Mon Oct 08, 2007 5:12 am

Post by st0kes »

Yuck .. ok ... PIA 2.9 has broken the syslog plugin, that is a dealbreaker for me ... I will have to roll back. :-(
Ben Stokes
[url]http://ukstokes.com/blog[/url]
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Which Syslog version?
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?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Just release aggregate v0.75. Please consider using that version
R.
jwhitaker
Posts: 17
Joined: Sat Sep 11, 2010 11:24 pm
Contact:

Post by jwhitaker »

Got the new 0.75, still can't get it to show up under Plugin Management. I have other plugins working OK (weathermap and superlinks).
jwhitaker
Posts: 17
Joined: Sat Sep 11, 2010 11:24 pm
Contact:

Post by jwhitaker »

OK, finally got aggregate to show up. My $plugins = array(), etc was in config.php, not global.php. I moved the list to global.php at the very bottom above the last line that sets the version of Cacti and then aggregate showed up.

My guess is that this change is required for plugins using the newer PIA architecture, as my other plugins show as "Old PIA" in the Plugin Management console and do not have the "install" and "activate" links the way aggregate does.
jwhitaker
Posts: 17
Joined: Sat Sep 11, 2010 11:24 pm
Contact:

Post by jwhitaker »

LOL well my *old* plugins stopped showing up when removed from config.php. So now I have them all back in config.php and all are still working including aggregate. *shrug*
st0kes
Posts: 17
Joined: Mon Oct 08, 2007 5:12 am

Post by st0kes »

I've also gone back and retraced my steps and have this working. Not sure what went wrong first time round, but here's what I did this time

Code: Select all

tar fvzx pia2.9-beta1.tgz
cd pia2.9-beta
chmod 644 *.php -R
chown root.root . -R
cp -r * /var/www/html/cacti/
cd /var/www/html/cacti/images
I didn't make any changes to global.php. But I added the following to config.php

Code: Select all

$plugins = array();
$plugins[] = 'syslog';
$plugins[] = 'settings';

/*
   Edit this to point to the default URL of your Cacti install
   ex: if your cacti install as at http://serverip/cacti/ this
   would be set to /cacti/
*/
$url_path = "/cacti/";
Only thing not working is the syslog plugin (0.5.2), but from rolling back to my vm snapshot on Friday I discovered it was already broken before I tried to install PIA 2.9. I'll have a look in the forums for anyone else with my syslog issue rather than continue here.

Thanks to all for help and suggestions.
Ben Stokes
[url]http://ukstokes.com/blog[/url]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest