Code: Select all
{
:foreach i in=[/ip neighbor find ] do={
:local addr1 [/ip neighbor get $i address ];
/tool netwatch
add host=$addr1
}
I don't want to be added again
When he searches in the neighbors and is in the netwatch he does not add him again
It just adds new