Answer the question
In order to leave comments, you need to log in
How to send a notification about a change in Mikrotik routes to Telegram?
There is a Mikrotik with two Internet channels via mobile modems. Configured according to the article https://habr.com/en/post/244385/ redundancy and balancing through routes.
One of the modems (main, unlimited) has the ability to stop giving the Internet and requires a reboot, Mikrotik disables balancing and transfers routes to the second modem (traffic is limited there), which can lead to overspending.
I would like the router to report such an event to the cart. The problem is that the modem is alive and responding, do not use netwatch. This is where my ideas end.
How do I get notified about route changes?
Answer the question
In order to leave comments, you need to log in
You can use a scheduler to pull a script that will ping an external address indicating which routing table to use.
In Google, you can find a ready-made script to perform various actions when there is no ping.
use netwatch on the status of the ports;
let the microt send a message to your cart when up / down
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question