Aggregate issues?

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
dingy
Posts: 25
Joined: Sat Nov 10, 2007 6:50 pm
Location: Michigan

Aggregate issues?

Post by dingy »

I have used aggregate to graph the farme-relay subinterfaces on one of my routers.
There are seven subinterfaces. Aggregate correctly created the graph entry;
the only things I changed were the title and some of the colors. I verified that the data
sources and the CDEFs used are correct.

The data comes from separate graphs of each subinterface. The data is
in an "over-under" representation, with the negative (outbound) data
calculated by a modified Make Bytes to Bit CDEF (I just multiply by negative eight).
I have checked all the graphs and they are correctly graphing the data.

Is there something else I should look at, or just delete the graph and start over?

BTW - I am running v0.8.7 with patches.

I have absolutley no idea what happened here (see attached).
I have also attached a copy of the graph debug.
Thanks!
Attachments
aggregate.jpg
aggregate.jpg (83.84 KiB) Viewed 2735 times
aggregate.txt
(4.37 KiB) Downloaded 132 times
Jimmy says it best - "If we weren't crazy, we'd all go insane!".
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Did you select to make an AREA/STACK graph? All items are AREAs, so they are overlapping.
Reinhard
dingy
Posts: 25
Joined: Sat Nov 10, 2007 6:50 pm
Location: Michigan

Post by dingy »

Yes, I selected Area/Stack graph.

the first entry (both in and out) showed as area, everything else was stack.
Jimmy says it best - "If we weren't crazy, we'd all go insane!".
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

I don't know if it's actually a requirement, but I usually do those as TWO AREA+STACK sets, one for the negative and one for the positive. It does mean moving all the negative ones to be after the positive ones, and changing the first one to an AREA.
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!)
dingy
Posts: 25
Joined: Sat Nov 10, 2007 6:50 pm
Location: Michigan

Post by dingy »

Thanks. Something I was wondering about - especially with the column that was inverted.

Are there any constraints with rrd in regards to this, or is this more like a "best practice"?
Jimmy says it best - "If we weren't crazy, we'd all go insane!".
dingy
Posts: 25
Joined: Sat Nov 10, 2007 6:50 pm
Location: Michigan

Post by dingy »

Howie - I rearranged the graph per your suggetion and it works great. I wouldn't have thought of doing it that way, but is makes sense in sort of an RPL way!

Thanks!
Jimmy says it best - "If we weren't crazy, we'd all go insane!".
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

My reading of http://oss.oetiker.ch/rrdtool/doc/rrdgr ... html#graph is that it is required.

So you have AREA, STACK, STACK, STACK etc (for positive values) followed by AREA, STACK STACK STACK (for negative values), otherwise you are stacking a negative on a positive and strange things will happen, as you have seen.
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!)
dingy
Posts: 25
Joined: Sat Nov 10, 2007 6:50 pm
Location: Michigan

Post by dingy »

Wow. Then I must have been lucky with all the other rrd queries that I did (other packages, etc...) that just worked! :oops:
Jimmy says it best - "If we weren't crazy, we'd all go insane!".
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests