The built in syslog functions will put into the log when an interface goes up and down. YOu just need to add a syslog event to email that to you. We use it all the time - every time an interface goes up and down it will email our NOC. No script needed. Try it. Paste in those commands with a valid working email relay and you should get emails.
What is the best way to send an email upon failover? I’m using recursive routes but I don’t have any scripting set up. I was trying to avoid scripts if possible, but it seems like for this I will need it.
I just want to email when the main isp goes down, and then again when it comes back up.
This does work, but for the love of god i can’t make mikrotik send any information about the board thus i don’t know what is it good for. There is a field “from” : Name or email address that will be shown as receiver.
But it doesnt work i tried to put device name there or an IP but i wont recieve an email, it does show in a log that has been sent but never deleivered. You have to change it to exactly same name as “user” is then it works. Then i wont recognize from which device it was sent, am i missing something? using ROS 6.48 on this particular board.