Hi!
I need script to monitor bandwidth, and report about this.
#Have this:
:local i 0;
/tool bandwidth-test 192.168.250.1 user=admin password=****** direction=transmit protocol=tcp duration=5s do={
:set i $tx-10-second-average;
}
:if ($i<1000000) do={
/tool e-mail send to=my@e-mail.pr subject=$i; }
But this script don`t work. $i=0 because $tx-10-second-average takes in 1s, but I neet to 3-5s.
Thanks!