How to monitor and control total bytes for each device

Hi,
I’ve bought routerboard 951ui to monitor and control the usage of the internet per device in my network, So I defined a simple queue for each ip, and now I’ve been able to check the upload/download bytes for each device from statistics tap, but I want to do the following:

  • Saving the statistics on disk, because I loss them when making a reboot, or when there’s a fail in the electricity
  • also I want to count the total upload/download bytes for group of devices, without losing the advantage of checking the statistics of each device.
  • last, I want to make a limit of upload/download bytes in a period of time for each device (ex: 50GB per month)

best regards :slight_smile:

  1. & 3) use user-manager
  2. ?

I tried to use the hotspot and created users for my clients, but I got many problems with it, first all users hate the login screen, some programs can’t be connected until login from the browsers such whatsapp and other mobile apps, is there’s a way to let the devices connects directly to the internet without taking a login session in hotspot?

let me clear the last point, in Queue screen, after defining each device with an IP, I can monitor the statistics of each device, so I can know the total download bytes for each device, now I want to collect some devices under one group, so I can know the total download bytes for all of them, because some of my users has 2 or 3 devices, and I want to know his usage.

1 - if you find out how to do this please post. I am also very interested
2 - I think you could do this with other versions on #3
3 - scheduler, scripts, IP firewall address list. Put all IP in the address list that you want to scan and see if the total-bytes >50GB. Set up a script and a schedule to scan all the IP in the address list. You can do many things like lower speed and or block access to the internet. You will also have to write scripts and schedules to return things to normal.