Email on Link Down

I am new to scripting and hope that someone can help


I am looking for a script which will simply email with subject “router down” whenever netwatch fails to ping an address.

Many thanks

/tool netwatch add
host= timeout=1s interval=1m status=up
up-script=“” down-script="/tool e-mail send subject=“Router is Down” server= from=“Mikrotik Router” to= body=“The Server is Down”

The router Also send SMS to your Mobile, if GSM Modem is connected to the Router. This will help you while you are on move.

Refer.
http://wiki.mikrotik.com/wiki/Monitoring_Network_thru_SMS_Alerts

Thanks a lot.

That worked a treat. The problem I had was that the SMS gateway would not process the alerts until I had a subject entered.

It’s working perfect now.

Paul