Need script that will pull information from simple queue
Posted: Thu Feb 06, 2014 9:59 pm
I want to get "target-address" with "bytes" for each line in simple queue saved to a file. How do I start.
Community discussions
https://forum.mikrotik.com/
foreach i in=[queue simple find] do={ local ip [queue simple get value-name=target $i] local byte [queue simple get value-name=bytes $i] put "$ip has $byte" }then you can save to a file.
thx you very muchmaybe this is a start point for you
ros code
foreach i in=[queue simple find] do={ local ip [queue simple get value-name=target $i] local byte [queue simple get value-name=bytes $i] put "$ip has $byte" }then you can save to a file.