For your FOREACH statement, you return index values based on a search for a Name under Interface, according to your script.
But then you proceed to trigger a Monitor under /interface/wireless.
The index values under Wireless are not the same list as is shown under Interface.
You’ll see if you do
/interface print
and
/interface wireless print
It’ll give you two different lists, with two different sets of index values.
Quite likely, the index value under /interface for your wireless card does not correspond to the index value for the Wireless card you want to monitor under /interface/wireless.
In my case, this is definitely true.
I suggest changing the FOREACH statement to the following:
Do your wireless interfaces have exactly the same name on each router ?
You are using find to locate them by name.
And yes, do use /interface print OR /interface wireless print, only one of them, for consistency.
Yes I understand that
:foreach i in=[/interface is equal to /interface print
and
:foreach i in=[/interface wireless is equal to /interface wireless print
In Both Case there must be no difference as I use different Interface names on one Router
So My ROS version is 2.9.27,
What you think Can it be a reason for this problem ??
In the first post, you said it works fine on one router. Your script.
If you move it to another router, and you use find to locate the interface, you should look for the exact interface name, case dOeS matter.