Let me be clear, you shouldn’t do this.

A private mailing list I’m on for other MSP owners posed the question, how can you monitor internet connections for cheap/free? If you run Linux and have sendmail configured properly (most VPS’ have this done for you out of the box) you can monitor the connection in a single line:

ping -n 1 MyWANConnection.com && echo Ping successful || echo “Subject: Ping to MyWaNConnection.com failed” | sendmail

Don’t do it.

Your Knoxville MSP should be monitoring this for you already.

But if they aren’t and you aren’t ready to call us you can do this instead.