i want to fetch tx rate , rx rate from interface using api , but how to ? screenshot for references
thanks
hello,The manual on this can be found here: https://help.mikrotik.com/docs/display/ROS/API
["/interface/monitor-traffic","=interface=wlan1","=once=true","=.proplist=rx-bits-per-second,tx-bits-per-second"]
hieIn RouterOS it is: /interface monitor-traffic <pppoe-Tct.babul@sai> once an how it is in API you have to find out yourself by trying. The name of the interface is the one you gave to it.
And here is my line. Replace wlan1 with the name you gave to the wlan connection:
Code: Select all["/interface/monitor-traffic","=interface=wlan1","=once=true","=.proplist=rx-bits-per-second,tx-bits-per-second"]