Hi everbody,
I need help with the email configuration. I am using RB 750G and I have to isps interface.
I am able to change the routes when one fail without script (using ping gateway) and I need to send an email notification when this thing happen.
The notification must work from 8 in the morning until 23
Can somebody help me?
Thanks in advance.
You can check out this wiki.
http://wiki.mikrotik.com/wiki/Email_setup/troubleshooting
If you have a question about any of it, post your question.
strg
4
:if ([/ping gatewayip count=4]=0) do={
:log info \ “Gateway down”
/tool e-mail send to=“youremail” subject=“Gateway DOWN” body=“MAIL ROUTER” from=routeremailaddress server=emailserveripaddress
}
Ok thanks
I will try this script and let you know
I am looking for a similar solution.
did you come right with this?
I want to email a user when a gateway is un-accessible or the route switches to the next distance.
Hey,
How would we actually use this script to email? Does it create a schedule or something?
Thanks in advance.