I have two graph questions that I haven't been able to get an answer on via IRC, so I thought this might be easier since I can include more information up front:
1st Question: A 2-port aggregate graph (agg_bits.png) shows a maximum value based on :AVERAGE while individual port graphs (port1_bits.png, port2_bits.png) for the ports that make up the aggregate show a maximum value based on :MAX. Is this intentional? If not, would it be possible to remove or toggle graphing average vs. maximum data on individual port graphs? I think both data points are useful, but in general when providing graphs the 5-minute average the only data we’d want to show them. More data below.
2nd Question: The “bits_old” graph includes 95th % both graphed and in the legend. Would it be possible to get the same for the other bits graphs, or at minimum, just bits? I did some digging and didn’t find a means to use options via graphs.php to generate it myself.
Question 1 data:
An aggregate graph (bits) takes the :AVERAGE inbound and outbound of the two ports, using that data to create the graph and populate the legend (min/max/avg, etc.):
DEF:in0=/opt/observium/rrd/dce01.01.mmr01/port-10.rrd:INOCTETS:AVERAGE DEF:out0=/opt/observium/rrd/dce01.01.mmr01/port-10.rrd:OUTOCTETS:AVERAGE
DEF:in1=/opt/observium/rrd/dce02.01.mmr02/port-10.rrd:INOCTETS:AVERAGE DEF:out1=/opt/observium/rrd/dce02.01.mmr02/port-10.rrd:OUTOCTETS:AVERAGE
The individual ports use both :AVERAGE and :MAX.
DEF:outoctets=/opt/observium/rrd/dce01.01.mmr02/port-10.rrd:OUTOCTETS:AVERAGE
DEF:inoctets=/opt/observium/rrd/dce01.01.mmr02/port-10.rrd:INOCTETS:AVERAGE
DEF:outoctets_max=/opt/observium/rrd/dce01.01.mmr02/port-10.rrd:OUTOCTETS:MAX
DEF:inoctets_max=/opt/observium/rrd/dce01.01.mmr02/port-10.rrd:INOCTETS:MAX
(I didn't include all the CDEFs, AREAS, HRULES, etc. for brevity, but I have copies of each RRD command for reference, if needed.)
The "Max" value in the legend reflects the :AVERAGE-based maximum on the aggregate graph and the :MAX-based maximum on the individual graph. Because of this, when compared side-by-side, the values do not match.
Aggregate Max:
p1_in: 118.25Mb
p1_out: 31.95Mb
p2_in: 40.15Mb
p2_out: 2.61Mb
Port 1 Max:
p1_in: 304.39Mb
p1_out: 98.77Mb
Port 2 Max:
p2_in: 90.94Mb
p2_out: 14.05Mb
--
Thanks,
skpio