Aggregate, now at V0.66

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

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

Post by gandalf »

TheWitness wrote:Gandolf,

I have reviewed the Aggregate plugin and am very happy with it. However, I need four features. I will write three, if you are ok with that, and then the last is a wish list item. :)

1) Ability to have the Legend prefixed with the |query_XXX| from the Graph Title Optionally rather than the Legend text from the source graph's legend.

This is applicable when you have multiple graphs with the same name legend for each and the distinguishing information about the item is in the title's query_* field and the hostname has no relevance.
Now, that |query_*| is supported for LEGEND, it's a clear must to have this feature.
2) Ability to use Host Description as a Prefix in the Legend instead of Hostname.

For this I see a dropdown with the following options: None, Hostname, Description, and possible a "do_hook" function :).
Why not. In our installation it won't be used so I did not think of it, initially.
3) When you hit save, goto the Graph in Debug Mode to save me fiddling with the Filters to go find it.
That's a good one! Should have included it from the very start.
4) Allow altering the Graph In place using the Wizard (That's the wish list item).
Wizard? Who should that be apart from me? :lol: :roll: :o
What are you aiming at, exactly?
And you know, the plugin is under SVN control at cacti.net. So it's up to you to do it at any time.

Personally, I'd like at add the "Totalling" stuff in the future. But with the current todo list, this will be far in the future. Just going to fix the presentation for FSLC, then SYSTEMS fair, Linux Show at Essen and finally 2.CCC.eu. Ahh, I left documentation out, how come?
Reinhard
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Yes, Wizard, you are :)

Larry
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
eddy
Posts: 32
Joined: Wed Apr 03, 2002 8:48 am
Location: Mississauga, Ontario

error on install

Post by eddy »

I have just installed the Aggregate v0.63 plugin and I get this error message :
Notice: Undefined index: cdef.php: in C:\Inetpub\wwwroot\cacti\lib\functions.php on line 1422

any ideas
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please elaborate each of the steps you made and the exact circumstances of that error.
Reinhard
sh0x
Posts: 32
Joined: Thu Aug 30, 2007 6:12 pm
Location: California

aggregate re-order after graph template change

Post by sh0x »

Hi, I really like the aggregate plugin. I notice after creating an aggregate graph of sub-interfaces, if I modify the "graph template" for the original graphs that the aggregate was created from, the aggregate graph items get re-ordered. For only a few interfaces I can fix it but for graphs with many interfaces I have to recreate all aggregate graphs (and stop changing my graph templates).
Attachments
aggregate_reorder.PNG
aggregate_reorder.PNG (31.8 KiB) Viewed 6928 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: aggregate re-order after graph template change

Post by gandalf »

sh0x wrote:Hi, I really like the aggregate plugin. I notice after creating an aggregate graph of sub-interfaces, if I modify the "graph template" for the original graphs that the aggregate was created from, the aggregate graph items get re-ordered. For only a few interfaces I can fix it but for graphs with many interfaces I have to recreate all aggregate graphs (and stop changing my graph templates).
Yes, I noticed this lately. But I did not yet find time to dig into it. My bad :cry:
Reinhard
User avatar
eddy
Posts: 32
Joined: Wed Apr 03, 2002 8:48 am
Location: Mississauga, Ontario

Post by eddy »

gandalf wrote:Please elaborate each of the steps you made and the exact circumstances of that error.
Reinhard
There isn't much to eloborate on, I downloaded the plugin from this thread and extracted it to my plugins directory and edited my conf.php file like this:

$plugins = array();
$plugins[] = 'thold';
$plugins[] = 'discover';
$plugins[] = 'flowview';
$plugins[] = 'links';
$plugins[] = 'settings';
$plugins[] = 'ntop';
$plugins[] = 'update';
$plugins[] = 'weathermap';
$plugins[] = 'ReportIT';
$plugins[] = 'killspike';
$plugins[] = 'aggregate';
//$plugins[] = '

and as soon as i save the chages to conf.php and refresh my display I see the error messsage in my browser like this.
Attachments
cactierror.PNG
cactierror.PNG (60.75 KiB) Viewed 6871 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please do me a favour: deactivate the all other plugins, one by one, and tell me if that error disappears
Reinhard
User avatar
eddy
Posts: 32
Joined: Wed Apr 03, 2002 8:48 am
Location: Mississauga, Ontario

Post by eddy »

gandalf wrote:Please do me a favour: deactivate the all other plugins, one by one, and tell me if that error disappears
Reinhard
Yes the error disappears when and only when I disable the Kill Spike plugin.

$plugins = array();

//$plugins[] = 'killspike';
$plugins[] = 'thold';
$plugins[] = 'discover';
$plugins[] = 'flowview';
$plugins[] = 'links';
$plugins[] = 'settings';
$plugins[] = 'ntop';
$plugins[] = 'update';
$plugins[] = 'weathermap';
$plugins[] = 'ReportIT';
$plugins[] = 'aggregate';
//$plugins[] = '

However i still don't see an aggregate option under the graph management dropdown.
Last edited by eddy on Mon Sep 17, 2007 3:48 pm, edited 1 time in total.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Maybe a function collision. Good concept, bad plugin.

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

Post by gandalf »

Well, I never used KillSpike. Function collision is my first bet, as Larry said (that's why I've asked you to check the other plugins). But I will check this not earlier than beginning of October, I'm on vacation til then
Reinhard
TheEricHarris
Posts: 2
Joined: Wed Sep 26, 2007 1:04 am

Post by TheEricHarris »

OK, my brain is really hurting right now. I can't figure how to do the following: Combine two port channels into one graph with a single Inbound and Outbound.

Is there a quick HOW-TO on how to do this, which walks you through the steps from the very begginging? I must be missing something. I'm checking the box next both of my port channels, clicking on Create Aggregate Graph from action menu, select AREA/STACK Graph, select a Color Template (if I don't select a template, graphs don't get created btw), and then click YES to create it.

Helppppp :o
crimsonstone
Posts: 19
Joined: Tue Feb 27, 2007 10:30 pm

Post by crimsonstone »

Anyone able to tell me why the padding is funky on the last STACK item of this graph?
Attachments
graph.jpg
graph.jpg (46.17 KiB) Viewed 6542 times
crimsonstone
Posts: 19
Joined: Tue Feb 27, 2007 10:30 pm

Post by crimsonstone »

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

Post by gandalf »

Padding is not changed by AGGREGATE. How are the spaces on the original graphs?
Reinhard
Locked

Who is online

Users browsing this forum: No registered users and 0 guests