Created
December 21, 2023 14:47
-
-
Save Tommasov/9bc0c7eabb8299861b74679b0d97794e to your computer and use it in GitHub Desktop.
Mikrotik Netwatch status "Down"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:log error "(Netwatch) Internet disconnesso"; | |
:if ([/interface lte get [find name="lte1"] running]=true) do={ | |
:log info "(Netwatch) lte1 disabilitata"; | |
/interface lte disable lte1; | |
:log info "(Netwatch) Attendo 5 secondi..."; | |
:delay 5000ms; | |
:log info "(Netwatch) lte1 abilitata"; | |
/interface lte enable lte1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment