CDEF help

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
apharas
Posts: 18
Joined: Mon Oct 10, 2005 12:25 pm

CDEF help

Post by apharas »

I need a little help in creating a CDEF. I have a graph for 4 data sources.

INBOUND
OUTBOUND
AVAILABLE
REJECTED

And I want to have a total of just INBOUND and OUTBOUND.

How do I go about doing this.

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

Re: CDEF help

Post by gandalf »

apharas wrote:I need a little help in creating a CDEF. I have a graph for 4 data sources.

INBOUND
OUTBOUND
AVAILABLE
REJECTED

And I want to have a total of just INBOUND and OUTBOUND.

How do I go about doing this.

Thanks
--
Alex
I'll give it a try:
Assuming, INBOUND is the first data source and OUTBOUND is the second one, you'll vreate a CDEF like

Code: Select all

a,b,+
. Use this in your Graph Template. To debug, goto the Graphs Display and select the wrench next to the graph. This will show the complete rrdtool graph statement. You'll see the DEF statements referring to your data sources. They are named like defa and defb. These names must be used in your CDEF. (No cacti system at hand, so this is described from memory)
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests