lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

Graphing: how to sum graph values not plotting singles

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
A7V
Contributor


Joined: 18 Jun 2004
Posts: 53
Location: Lisbon, Portugal

PostPosted: Fri Jun 18, 2004 5:20 pm    Post subject: Graphing: how to sum graph values not plotting singles Reply with quote

I wanted to sum bandwith values for interfaces of 9 devices, which I was able to do by now, but I really want to just plot the sums, not every single interface needed for the sum. This is done in plain RRD by using CDEFs, but here there is not that option.

Example graph

Ideas?
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Fri Jun 18, 2004 7:25 pm    Post subject: Reply with quote

Yes... we're currently lacking a generic CDEF abstraction.

We have handled this particular senario by adding all of the graph items you intend to sum, first as an AREA, and subsequently as STACKs, but all with blank labels. RRDTOOL should hide these from the legend. We would then add an AREA that was a 'Sum of all items' (which invokes a CDEF), and use that as the aggreate. IIRC, we have it such that every time you use a 'Sum of all items' it will reset the list, allowing you to have multiple summed groups per graph. It doesn't work in all situations, but it does work for making an aggregate traffic graph that looks somewhat appealing.

Let us know how you make out.
Back to top
A7V
Contributor


Joined: 18 Jun 2004
Posts: 53
Location: Lisbon, Portugal

PostPosted: Mon Jun 21, 2004 5:26 pm    Post subject: Reply with quote

I'm doing what you describe already. If you look at my example graph above I can display the sums the way I want. What I really didn't want to display is the lines(and areas whatever) from the single devices. That is noticeable on the several blue lines down on the graph.
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Mon Jun 21, 2004 5:35 pm    Post subject: Reply with quote

Ok... I see what you mean. We were able to get away with it because we didn't show the individual links on our graphs, only the sum. CDEF support is on the TODO list, hopefully we'll have it done sooner rather than later.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group