hello everyone… is there a way to get rx & tx-rate of an active user… i tried
/ip hotspot active print
, including detail, stats, and status… but none outputs rx-rate or tx-rate… I was on quest on finding out how to output it with winbox before using at php API…
You can get the rates from “/ip hotspot host”. Those rates include any device going through the hotspot interface, including devices that are not yet logged in. You’ll want to get the user and their IP from “/ip hotspot active” and associate the IP/MAC combos there with what “/ip hotspot host” gives.
I’m not aware exactly how those values get into that menu, so I can’t say what would be a perfect analog, but a close enough analog would be if you have your hotspot user profile create a queue in “/queue simple”, and then check the queue with “/queue simple print stats”.
bump…
I also need this & can’t find out which CLI/API command will retrieve this information.
I need this to create my own “active users” table for a custom admin web application.