Quantcast
Channel: Tomato Firmware
Viewing all articles
Browse latest Browse all 5181

WAN UP\DOWN Notifications Script (MultiWAN)

$
0
0
Hi,

I built a script to check the status of my WAN ports, it obviously can't send down notifications if you are only on a single port WAN, but it will send the up.

You can set it from 1 to 4 WANS.

I have it scheduled to run every minute, it will store the current IP on first run in a tmp file, you will get a message on first run.

It then compares stored to current on the next run.

It is a basic check if IP changes to 0.0.0.0 then it sends a WAN DOWN.
If the IP changed to a new IP or...

WAN UP\DOWN Notifications Script (MultiWAN)

Viewing all articles
Browse latest Browse all 5181

Trending Articles