Mikrotik Netwatch..
An easier explanation and example.
Say you are an IT provider of sorts and wish to monitor customer networks and websites but would rather be alerted to issues rather than a customer call asking why something is not working? Netwatch can monitor many IP addresses, other Miktotik routers via MyNetName and a myriad of websites and static IPs whether they are local or on the WAN.
So here we have to add a script to Netwatch.
Tools/Netwatch
You will have had to setup email sending through the Mikrotik for all of this to work. Look for the other Posts:- Mikrotik Email for setup instructions.
In this example we are monitoring google.com via IP 142.251.39.14
There are also 2 scripts which you will insert /paste into the respective areas / tabs for up and down.
The first script when the host is Up
/tool e-mail send to=youremail@gmail.com subject="Host is Up" from=youremail@gmail.com port=587 start-tls=yes user=youremail@gmail.com password=123456 body="Host Up"
And the second for whe the host is down.
/tool e-mail send to=youremail@gmail.com subject="Host Down" from=youremail@gmail.com port=587 start-tls=yes user=youremail@gmail.com password=123456 body="Host Down"
Adjust these scripts with your email details and edit the Up and Down with your specific host if you wish. IE when you have many scripts sending you emails you wish to know which host is actually down, not just something is Down.
Follow the images attached for some guidance..