Can please tell me how correctly ping some resources from all interfaces which i have on a router?
I've created the script, but it doesn't work correctly(
Code: Select all
:foreach interface1 in=[/interface print where name~"ether"] do={
:if ([/ping 8.8.8.8 count=10 interface=$interface1]=0) do={
:log error "LINK DOWN";
} else={
:log info "LINK FINE";
}
}