Modem.pl is a small script that scrapes the web interface of a
Motorola SURFboard cable modem for various status conditions like
signal strength and signal to noise. The results are sent to
STDOUT where they can be easily piped into a log file. The modem
values are also checked for reasonable operating ranges. If the
modem values are outside of reasonable operating ranges, results
are also sent to STDERR. When run from a cron job, modem.pl can
be used to monitor the condition of the cable service and notify
someone before conditions cause service interruptions. |