Dear tbotnz
I'm Paolo Cruschelli from Italy. Thank you for your work on RRDREST, I managed to have it working with my librenms installation.
One question arise. Is it possible to display the aggregated data from two (or more ports)?, in other words is is possible to query two (or more) .rrd files at once?
I know that this is possible with rrdtools (in the following an example which aggregates bandwidth for two files related to two ports:
port-id1170.rrd
port-id1169.rrd
thank you in advance
regards
Paolo
rrdtool graph /tmp/W96uhLxhVo9u15Ht --start 1675162500 --end 1675248900 --width 1519 --height 300 --font LEGEND:8:DejaVuSansMono --font AXIS:7:DejaVuSansMono --font-render-mode normal -c FONT#000000 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e --alt-autoscale-max --rigid --slope-mode COMMENT:'Bits/sec ' COMMENT:' Current' COMMENT:' Average' COMMENT:' Maximum' COMMENT:'\l' DEF:in0=62.196.5.4/port-id1170.rrd:INOCTETS:AVERAGE DEF:out0=62.196.5.4/port-id1170.rrd:OUTOCTETS:AVERAGE CDEF:inB0=in0,8,* CDEF:outB0=out0,8,* CDEF:outB0_neg=outB0,-1,* CDEF:octets0=inB0,outB0,+ AREA:inB0#CAE853:'pe-mi-196-04-piastra In' GPRINT:inB0:LAST:%6.2lf%sbps GPRINT:inB0:AVERAGE:%6.2lf%sbps GPRINT:inB0:MAX:%6.2lf%sbps\l 'HRULE:0#A9A9F2:ge-1/0/1 Out' GPRINT:outB0:LAST:%6.2lf%sbps GPRINT:outB0:AVERAGE:%6.2lf%sbps GPRINT:outB0:MAX:%6.2lf%sbps\l 'COMMENT:\l' DEF:in1=62.196.5.4/port-id1169.rrd:INOCTETS:AVERAGE DEF:out1=62.196.5.4/port-id1169.rrd:OUTOCTETS:AVERAGE CDEF:inB1=in1,8,* CDEF:outB1=out1,8,* CDEF:outB1_neg=outB1,-1,* CDEF:octets1=inB1,outB1,+ AREA:inB1#B2D849:'pe-mi-196-04-piastra In':STACK GPRINT:inB1:LAST:%6.2lf%sbps GPRINT:inB1:AVERAGE:%6.2lf%sbps GPRINT:inB1:MAX:%6.2lf%sbps\l 'HRULE:0#9696DD:ge-1/0/0 Out' GPRINT:outB1:LAST:%6.2lf%sbps GPRINT:outB1:AVERAGE:%6.2lf%sbps GPRINT:outB1:MAX:%6.2lf%sbps\l 'COMMENT:\l' 'AREA:outB0_neg#A9A9F2:' 'AREA:outB1_neg#9696DD::STACK' HRULE:0#999999 --daemon 100.67.0.46:42217