help with aggregate graph & CDEF

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

Moderators: Developers, Moderators

Post Reply
rawrvolution
Posts: 2
Joined: Wed Oct 16, 2013 10:40 am

help with aggregate graph & CDEF

Post by rawrvolution »

:evil: <-- frustrated after many hours.

Objective:
1 graph with two different data sources "aggregated" by a simple CDEF. I need ONLY the outcome of the CDEF doing the aggregation to be graphed. (visible).

Data Sources:
StatClientBytesIn5m
StatServerBytesIn5m

I want the above added together and the outcome graphed. (and changed from bytes to bits)

CDEF:
a,b,+,8,*

I have tried many different options in the graph template. I have also tried the AGGREGATE add-on, but it will break when trying to create an aggregate graph using graphs from different graph templates.


How can I graph ONLY my "cdefc" ? Which "Graph Item Type" needs to be used for my Data Source lines in my Graph Template so that they are not graphed, but there to provide the values to be calculated for my cdefc?

Code: Select all

 	RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='F5 BIG-IP sysStatServer/ClientBytesIn/Out5m' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='bps' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/usr/share/cacti/rra/56/28785.rrd":'StatClientBytesIn5m':AVERAGE \
DEF:b="/usr/share/cacti/rra/56/28786.rrd":'StatServerBytesIn5m':AVERAGE \
CDEF:cdefa='a,b,+,8,*' \
CDEF:cdefb='a,b,+,8,*' \
CDEF:cdefc='a,b,+,8,*' \
LINE1:cdefa#FFF200FF:""  \
LINE1:cdefb#FFAB00FF:""  \
LINE1:cdefc#FF00FFFF:"Incoming" 

RRDTool Says:

OK
Attachments
Client_ServerBytesIn_Out5m.png
Client_ServerBytesIn_Out5m.png (35.96 KiB) Viewed 903 times
rawrvolution
Posts: 2
Joined: Wed Oct 16, 2013 10:40 am

Re: help with aggregate graph & CDEF

Post by rawrvolution »

Figured it out. This thread can be deleted.
takobaba
Posts: 7
Joined: Mon Aug 05, 2013 10:22 am

Re: help with aggregate graph & CDEF

Post by takobaba »

rawrvolution wrote:Figured it out. This thread can be deleted.

How? after 5 years I need the solution.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests