I am trying to create a graph to show data transmission rate for a router. Mainly I need to show user activity and interface activity.
When I query the API, for example it returns rx-byte = 23412389850
tx-byte = 1308381687
.
And these numbers are increasing all time.
I believe this is total data transmitted since router's up time.
How can I measure the data transmit rate per second, or per 5 second?