Aggregate, now at V0.66

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Locked
zerojunkie
Posts: 1
Joined: Wed May 07, 2008 2:47 pm

Post by zerojunkie »

Just installed the SVN version, still can't seem to get the plugin management to see Aggregate. Any suggestions?
Ficuzo
Posts: 2
Joined: Tue May 13, 2008 5:49 am

Post by Ficuzo »

gandalf wrote:I'm already at PIA2.2 beta with some patches. So please try replacing lib/plugins.php by the unzipped attachment
Reinhard
I have the same problem as sfinc. Tried to replace lib/plugins.php from your archive and got even more problems:
Notice: Undefined index: keys in /usr/share/cacti/site/lib/plugins.php on line 130

Warning: Invalid argument supplied for foreach() in /usr/share/cacti/site/lib/plugins.php on line 130

Notice: Undefined index: unique in /usr/share/cacti/site/lib/plugins.php on line 136

Warning: Invalid argument supplied for foreach() in /usr/share/cacti/site/lib/plugins.php on line 136

Notice: Undefined index: keys in /usr/share/cacti/site/lib/plugins.php on line 130

Warning: Invalid argument supplied for foreach() in /usr/share/cacti/site/lib/plugins.php on line 130

Notice: Undefined index: unique in /usr/share/cacti/site/lib/plugins.php on line 136

Warning: Invalid argument supplied for foreach() in /usr/share/cacti/site/lib/plugins.php on line 136
Maybe u have a solution for this problem already?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

zerojunkie wrote:Just installed the SVN version, still can't seem to get the plugin management to see Aggregate. Any suggestions?
Sorry, no idea
Reinhard
BoneStorm
Posts: 1
Joined: Mon May 19, 2008 4:16 pm

Post by BoneStorm »

Hi,

unfortunately I ran into the same problem. I got a brand new cacti 0.8.7b (from debian lenny) + PIA 2.1 and aggregate seems not to work properly.

I patched the cacti default installation with PIA 2.1. I edited $plugins[] in global.php and extracted the tar ball into ./plugins/aggregate.

In User Management -> admin I checked Plugin Manager. In the Plugin Manager itself I installed aggregate and got the following error messages:

Code: Select all

Warning: Invalid argument supplied for foreach() in /usr/share/cacti/site/lib/plugins.php on line 128

Warning: Invalid argument supplied for foreach() in /usr/share/cacti/site/lib/plugins.php on line 128
Under User Management -> admin -> realm permissions aggregate shows up two times:

Code: Select all

Plugin Aggregate -> Create Color Templates
Plugin Aggregate -> Create Color Templates 
When I pick Color Template from the console navigation bar i get:

Code: Select all

Notice: Undefined index: color_templates.php: in /usr/share/cacti/site/lib/functions.php on line 1634
I also tried the new 2.2 beta PIA which was posted earlier without success.

Aggregate seems to be broken in cacti 0.8.7b + PIA 2.1. Since this are my first steps with cacti I have absolutely no glue what might be wrong...

Any help appreciated.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I fear that I have to install PIA2.1 with 087b to tackle it. Sigh ...
Reinhard
Ficuzo
Posts: 2
Joined: Tue May 13, 2008 5:49 am

Re:

Post by Ficuzo »

gandalf wrote:I fear that I have to install PIA2.1 with 087b to tackle it. Sigh ...
Reinhard
Please please do it :) Need this plug-in pretty badly
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Did it yesterday. Now I know better. But it's not finished yet. PIA 2.1 at least changed realm handling, that's why two "Color Template" Realms exist in User Management. Try to select both of them as a workaround.
I fear that I will have to create 3 different versions of code for PIA1.1, PIA2.0 and PIA2.1. That's pretty bad.
Reinhard
User avatar
gninja
Cacti User
Posts: 371
Joined: Tue Aug 24, 2004 5:02 pm
Location: San Francisco, CA
Contact:

Post by gninja »

I'm having issues with this and the csv export in cacti 0.8.7b...

CSV export works fine on normal graphs, but with aggregate graphs I tend to get a csv file with header data and nothing else.. Or no csv file at all.
FreeBSD/RHEL
cacti-0.8.7i, spine 0.8.7i, PIA 3.1+boost 5.1
MySQL 5.5/InnoDB
RRDtool 1.2.27, PHP 5.1.6
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please verify, if this occurs with graphs that are not associated to any Graph Template or host.
Reinhard
User avatar
gninja
Cacti User
Posts: 371
Joined: Tue Aug 24, 2004 5:02 pm
Location: San Francisco, CA
Contact:

Post by gninja »

I cannot reproduce the problem with normal graphs with no graph template, or no host.
FreeBSD/RHEL
cacti-0.8.7i, spine 0.8.7i, PIA 3.1+boost 5.1
MySQL 5.5/InnoDB
RRDtool 1.2.27, PHP 5.1.6
User avatar
zorrosam
Cacti User
Posts: 244
Joined: Thu May 03, 2007 3:17 pm
Location: Italy

aggregate & rrdclean ... any info?

Post by zorrosam »

gandalf wrote:Did it yesterday. Now I know better. But it's not finished yet. PIA 2.1 at least changed realm handling, that's why two "Color Template" Realms exist in User Management. Try to select both of them as a workaround.
I fear that I will have to create 3 different versions of code for PIA1.1, PIA2.0 and PIA2.1. That's pretty bad.
Reinhard
hi gandalf....

i need your plugin but i can't able to view it in my graph management .... after the upgrade to pa 2.1 & cacti 0.87b.

remember my issue?

under plugin management, the new options for installing plugin, i can't see any aggregate &rrdclean .... both of them are very useful for my installation!

any info? why i can't view them under plugin installed or uninstalled ... the folders are ok .... the config.php too ....

please help!

sam
Elvis
Posts: 2
Joined: Fri Jun 13, 2008 5:59 am

Error msg with aggregate 0.65 , cacti 0.8.7b and PA 2.1

Post by Elvis »

I receive the following error message when using the new aggregate version: After selection two graphs , selecting the aggregate plugin, hitting GO and then in the confirm box YES I receive the following error: <PROGERR: ERRNO:'2048' TYPE:'' MESSAGE:'Assigning the return value of new by reference is deprecated' IN FILE:'C:\Apache\htdocs\cacti\lib\adodb\adodb-lib.inc.php' LINE NO:'537'>
Have I forgotten something? Any help is appreciated; Olaf
ut0mt8
Posts: 4
Joined: Thu Jan 04, 2007 12:39 pm

cool plugin

Post by ut0mt8 »

This is a cool graph on all my transit traffic. Very psychedelic. Like it.
Attachments
graph_image.php.png
graph_image.php.png (86.07 KiB) Viewed 5275 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please find V0.66 attached to first post of this thread.

Changes:


--- 0.66 ---
Tweak: Cleanup of README
Bug fix: Support issues with PIA2.1 fixed. Compatibility with 086j is still maintained

Reinhard
User avatar
zorrosam
Cacti User
Posts: 244
Joined: Thu May 03, 2007 3:17 pm
Location: Italy

same problem ..... plugin management doesn't works .... why?

Post by zorrosam »

Hi Gandalf!

thanks for your work .... but .... i have the same problem that told to you in my others email ....

under update i can see aggregate in the list of my plugins .... but ... under graph management i can't aggregate any graphs ... there's no the option in the menu like i had in the older version (cacti / pa & aggregate)

Maybe the problem is similar to rrdclean plugin? i can't install them because under new plugin management menù there are no uninstalled plugin ....

why?

i have the same problem with the three my installations .... all them are updated from 0.86j pa 1.3 to 0.87b pa 2.1 ...

uff ....

please provide me info ...

sam
Locked

Who is online

Users browsing this forum: No registered users and 2 guests