Out of curiosity if I have a graph and the associated rrd file is /opt/librenms/rrd/site/port-id230.rrd where can I pull the last 5 minutes of in out bits off of this? Or maybe a better question is where is the data off this held and translated to the graph?
This is stored in the DB if you want easy access under ifInUcastPkts and ifOutUcastPkts, we also have _delta and _rate to give you data that is already formatted.
If that’s not what you want then you will need to use rrdtool dump or rrdtool xport to get what you need, these are standard rrdtool functions so you need to check the docs for them.