Ping the modem every 30 seconds # Not possible with mine, or I would Ping the "internet" every 5 minutes if ping fails Increment failure counter If counter >= 3 Notify via internal email / telephone page of serious problem and exit power-cycle modem wait 45 seconds ping internet if up, notify of problem/resolution if internet still not up, repeat