Hello. I'm quite new to writing scripts for Mikrotik. But I needed a script that would display used of the Mikrotik processor in the terminal. Is it possible?
:local cpuLoad [/system resource get cpu-load]
:put $cpuLoad
My code you are trying to execute on your router was written on 7.8 - 7.9i have 6.48.6Be advised, that assumption might become wrong.
It looks like they are moving towards standardized date/time formatting.
See latest change log on 7.10b5.
:if ([:len [get $i time]] = 8 and [:len [/ip fire addr find where list=$listName address=$logIp]] < 1) do={
ICMP is not hiddenI hope you are not in the Steve Gibson camp... did you "hide" your router for ICMP as well? BAD IDEA!!!
/interface/bridge/host
:local interFace [get [find mac-address=$leaseActMAC] on-interface]
:log info $interFace;
Yeah, I want to know on which interface this traffic originated. Its concerning I cant find out which hardware uses these MAC adressens. Seems like unauthorized access, how the heck that can happenAh...now I understand, some sort of custom logging where this information is included.
Though I don't have any L2TP server configured. His this just info that some one is trying to connect even though no server exists?first L2TP UDP packet received from 154.89.5.115
Sorry this might have been a ISP DNS problem thatno ideas without your config