In this article we will see how to configure Email Alerts for WAN link failure.
ISP-1 Configuration
✦ Tools -> Netwatch -> Add -> Enter Host: 208.67.220.220 -> Click on UP Tab and Paste below Script
/tool e-mail send server=”74.125.200.108″ from=”Enter Email ID” to=”Enter Email ID” cc=”Enter Email ID” subject=”ISP-1 UP” body=”ISP-1 UP”
Click on DOWN Tab and Paste below Script
/tool e-mail send server=”74.125.200.108″ from=”Enter Email ID” to=”Enter Email ID” cc=”Enter Email ID” subject=”ISP-1 DOWN” body=”ISP-1 DOWN”
and Click on Apply OK.
✦ IP -> Firewall -> Add -> Chain: Output -> Dst. Address: 208.67.220.220 -> Protocol -> 1 (icmp) -> Out. Interface: eth2 -> Click on Action Tab -> Action: Select Drop and Click on Apply OK.
ISP-2 Configuration
✦ Tools -> Netwatch -> Add -> Enter Host: 208.67.222.222 -> Click on UP Tab and Paste below Script
/tool e-mail send server=”74.125.200.108″ from=”Enter Email ID” to=”Enter Email ID” cc=”Enter Email ID” subject=”ISP-2 UP” body=”ISP-2 UP”
Click on DOWN Tab and Paste below Script
/tool e-mail send server=”74.125.200.108″ from=”Enter Email ID” to=”Enter Email ID” cc=”Enter Email ID” subject=”ISP-2 DOWN” body=”ISP-2 DOWN”
and Click on Apply OK.
✦ IP -> Firewall -> Add -> Chain: Output -> Dst. Address: 208.67.222.222 -> Protocol -> 1 (icmp) -> Out. Interface: eth1 -> Click on Action Tab -> Action: Select Drop and Click on Apply OK.