Community discussions

MikroTik App
User avatar
Topic Author
Posts: 28
Joined: Mon Jun 27, 2016 1:15 pm
Location: Stockholm

Disable Netwatch via SMS

Sat May 23, 2020 10:31 pm

I have several 4G devices which I normally restart through SMS when needed, for instance when VPN is disconnected and does not reconnect on its own. Yesterday, I received a proposal to an idea where I can use netwatch so that the device automatically restarts within 10 minutes when internet connection is lost.
/tool netwatch
add disabled=yes down-script="/system reboot" host= interval=10m
When the connection was lost, the devices restarted itself in 10 minutes, the problem is that I did not know that the devices run the netwatch script within one second of restarting. My question is, since I can send an API request to my devices, is it possible to disable the netwatch script via SMS?

Thanks in advance.

Who is online

Users browsing this forum: amt, hugoss18 and 157 guests