I am trying to ARP PING clients between 192.168.12.1 to 192.168.12.50 and if for example 12.5 DOWN , should send e-mail.
I wrote script about it but I don’t know where i did wrong, please help me to correct script below;
*:for e from 1 to 50 do={
:if ([/ping arp-ping=yes 192.168.12. . $e interface=Eth4-Hotspot count=5] = 0) do={
/tool e-mail send
to=mymail@mymail.com
subject=“Can’t ping 192.168.12. . $e”
}
}
*