Tried it, no response at all, nothing logged. Those mac-addresses do not exist on my system, so it should log “not found”. This originally comes from http://www.mikrotik.com/testdocs/ros/2.8/appex/scripting1.php, so I am not sure if after numerous version changes, that coding still operates.
Thanks! that works perfectly now. Now I can work with that to monitor my backhaul links/failovers etc. Being a noob at scripting, it’s all trial an error for me, and only after at least 2 or 3 hours of failure, do I come here looking for help - need to do things myself so I can learn.
FYI: Those brackets “” mean “replace this statement with the value you get by executing this statement”. In your case, that would be the number of objects in the returned array, or “0”, because the mac is not in the list. Then it evaluates “0 = 0”, and that is “true”. So it runs the “do={}” statements.