Aggregate, now at V0.66

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Locked
clandagent
Posts: 11
Joined: Thu Apr 19, 2007 5:33 pm

To better clarify...

Post by clandagent »

Is this what the aggregate graphs are supposed to look like?

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

Re: Different kind of aggregate than I was expecting...

Post by gandalf »

clandagent wrote:I'm a bit curious if what I've got working is in fact working correctly... By aggregate, do you mean it shows multiple interface values on a single graph? Or do you mean it adds the values of each interface and displays the total "aggregate" on a single graph? The result it's giving me is the former. If that's what it's supposed to do, does anyone know how to make cacti do an aggregate that's a total of combined interfaces?
Your assumption is correct. First, aggregate creates a graph showing multiple objects, e.g. interfaces.
If you need a total, you will have to add this as a new graph item to that aggregated graph. See http://docs.cacti.net/node/50 for this
Reinhard
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: To better clarify...

Post by gandalf »

clandagent wrote:Is this what the aggregate graphs are supposed to look like?

Image
Correct. Personally, I'd like to change
- to AREA/STACK graph
- omit the 95th Percentile. IMHO, that makes not that much sense for an aggregate graph
But that's only me
Reinhard
praxis
Posts: 23
Joined: Fri Mar 17, 2006 1:13 pm

Post by praxis »

Thanks for this plug-in, makes my life much easier :)

Few ideas / feature requests...

- Can you add the option to edit the titles during creation? Currently it seems to use ip addresses, which jogs everything over too far. Reason I ask for the option during creation is that once spacing is set for the default ip addresses, if you change it in the resulting template, all the spacing gets messed up.

- Instructions on or a tool to modify the color templates!

- A nice black line for the total sums and a text line for that total amount?

Thanks
nishr
Posts: 4
Joined: Mon Mar 12, 2007 4:41 pm

Re: Different kind of aggregate than I was expecting...

Post by nishr »

Gandalf,

I looked at that doc, and I can't see how you'd summarize the different data sources in the aggregate graph. This is personally something I'd want -- but haven't been able to figure out with their example of "|sum:auto:current:2:auto|" and saying it only works on one rrd file.

Could you point me in the right direction?

Thanks in advance.
gandalf wrote:
clandagent wrote:I'm a bit curious if what I've got working is in fact working correctly... By aggregate, do you mean it shows multiple interface values on a single graph? Or do you mean it adds the values of each interface and displays the total "aggregate" on a single graph? The result it's giving me is the former. If that's what it's supposed to do, does anyone know how to make cacti do an aggregate that's a total of combined interfaces?
Your assumption is correct. First, aggregate creates a graph showing multiple objects, e.g. interfaces.
If you need a total, you will have to add this as a new graph item to that aggregated graph. See http://docs.cacti.net/node/50 for this
Reinhard
clandagent
Posts: 11
Joined: Thu Apr 19, 2007 5:33 pm

Re: To better clarify...

Post by clandagent »

gandalf wrote:
clandagent wrote:Is this what the aggregate graphs are supposed to look like?

[_img_]
Correct. Personally, I'd like to change
- to AREA/STACK graph
- omit the 95th Percentile. IMHO, that makes not that much sense for an aggregate graph
But that's only me
Reinhard
Thanks, STACK is what I was looking for. I've got it to do what I wanted now, shown below:

Image
doofoo
Posts: 2
Joined: Sun May 13, 2007 3:01 pm

Post by doofoo »

Mind passing some info along as to how you did that? Interested in adding a total to mine + the upside down graphing would be great.

How do I go about that? Been tinkering for a while trying to figure it out.
doofoo
Posts: 2
Joined: Sun May 13, 2007 3:01 pm

Post by doofoo »

doofoo wrote:Mind passing some info along as to how you did that? Interested in adding a total to mine + the upside down graphing would be great.

How do I go about that? Been tinkering for a while trying to figure it out.
Actually trying to figure out how to add a line item to total up in/out between two devices. So:

Gi0/1 In: 1MB Out: 1MB
Gi0/2 In: 1MB Out: 1MB
Total In: 2MB Out: 2MB

Or can I have it just combine the two in the background and just present one in/out?

So it would show:
In: 2MB Out: 2MB

and only show 1 graph.

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

Post by gandalf »

Please see the "Summation" Chapter at http://docs.cacti.net/node/50
Reinhard
iYRe
Posts: 40
Joined: Mon May 07, 2007 4:49 pm
Location: Auckland NZ
Contact:

Post by iYRe »

I get this error:

PROGERR: ERRNO:'2048' TYPE:'' MESSAGE:'Assigning the return value of new by reference is deprecated' IN FILE:'/usr/share/cacti/site/lib/adodb/adodb-lib.inc.php' LINE NO:'537'

using v0.62 and plugin arc 1.1
If a man is in a forest, and he speaks to a tree and no woman can hear....

[i]is he still wrong?[/i]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Are you using the latest version of my plugin?
Reinhard
iYRe
Posts: 40
Joined: Mon May 07, 2007 4:49 pm
Location: Auckland NZ
Contact:

Post by iYRe »

gandalf wrote:Are you using the latest version of my plugin?
Reinhard
Create Aggregate Graphs
Directory: aggregate
Version: 0.62
Author: Reinhard Scheck
Home Page: http://forums.cacti.net/about19474.html

(thats what "update" plugin sees anyway..)
If a man is in a forest, and he speaks to a tree and no woman can hear....

[i]is he still wrong?[/i]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Let me have a go on it.
Reinhard
iYRe
Posts: 40
Joined: Mon May 07, 2007 4:49 pm
Location: Auckland NZ
Contact:

Post by iYRe »

sure.. let me know what you need.

Feel free to msn me if you want.

I am configuring cacti to replace cricket in a largish ISP environment and I have lots of different machines/services to play with :P
If a man is in a forest, and he speaks to a tree and no woman can hear....

[i]is he still wrong?[/i]
churchi
Posts: 46
Joined: Tue Oct 26, 2004 2:08 am

Post by churchi »

doofoo wrote:
doofoo wrote:Mind passing some info along as to how you did that? Interested in adding a total to mine + the upside down graphing would be great.

How do I go about that? Been tinkering for a while trying to figure it out.
Actually trying to figure out how to add a line item to total up in/out between two devices. So:

Gi0/1 In: 1MB Out: 1MB
Gi0/2 In: 1MB Out: 1MB
Total In: 2MB Out: 2MB

Or can I have it just combine the two in the background and just present one in/out?

So it would show:
In: 2MB Out: 2MB

and only show 1 graph.

Thanks!
Mike
Hi Reinhard,

i have a similar problem to the person above in the quote. i have read the Bandwidth Summation chapter but i don't think its what i am after with these graphs.

what i am after is to total the current BW at any one point in time from a few different links we graph.

For Example:
Router 1 Link 1: 10.1 Mbps
Router 2 Link 2: 3.35 Mbps
Router 3 Link 1: 33.01 Mbps
Router 4 Link 4: 1.01 Mbps
Total: 47.47Mbps (this is the value I would like to graph)

So i have currently 4 different routers getting graphed and they are producing graphs correctly.

so what i would like to do is total the current bandwidth at any one time for the 4 links and produce one graph with the total of the link speeds at that point in time. (as indicated a few lines up).

i am pretty sure that this is possible, so i was wondering if someone could explain the steps for me please.

i am currently using this: (traffic_in): Total In: |sum:auto:current:2:auto|
but what that is doing is suming up all the total data transfered, which is not the one i am after, i would like the total bandwidth at that point in time.

would anyone be able to point me in the right direction please?

thanks,

Image
Locked

Who is online

Users browsing this forum: No registered users and 0 guests