traffic monitor not work

Hello, in a mikrotik 5.11 x86, I tried to use the monitor traffic to enable/disable a queue and never works.
Write below the script it is very simple.

/tool traffic-monitor add disabled=no interface=ether1-wan name=trafico-mayor-27mb on-event=
“/queue tree enable 0” threshold=15 traffic=received trigger=above


You must enable some function in the mikrotik to run the monitor traffic?

thanks

I never used this feature so I’m not sure how it all works, but looking at your setup, the problem may be tied to your script. Unless you print a menu first, the router has no way of knowing what “number” you are trying to enable or disable. It would be much better for you to use the find function.

"/queue tree enable [find comment="YOUR COMMENT HERE"]"

Or any other attribute that you use to make the queue(s) unique.

the script disable the queue is correct, but I’ve also tried what you told me and does not work, not if it is a mikrotik bug or something that is lacking to enable a property in another part of the system.

I just had the same experience. I could not make traffic monitor do anything on my x86 build, but as an afterthought I tried the identical script and traffic monitor settings on a Routerboard, and they worked right off the bat. I’m going to report this as an x86 problem.