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