(PM) T1/PRI error checking script

jp@sugar.midcoast.com
Wed, 28 Apr 1999 17:40:35 -0400 (EDT)

I made a little expect script and a little bash script all about 10 lines
long to telnet into a PM3 and do a show line0 or show line1 and report
back the errors. I did it to learn how to use expect and make the start of
something useful. Basically, if we have a phone company T1 problem, we
will know lots of details and help get it fixed quicker.

Then I handed it off to a friend and employee, Jacob, who completely redid
my academic shell-script thing in perl and made it put the errors onto a
webpage at a cron-defined time interval.

This is inspired by the really cool output of the new Adtran T1/DSL
linecards that Bell Atlantic is now using. I'm not inspired by BA, but by
Adtran and how the presented the error count. Well, they don't put the
stuff on a webpage, but it does have it all in nice columns based on 15
minute intervals.

So we did something similar for the PM3s and have web-output now. It
produces a new file each day, and adds to the file every time the script
is run by cron. It's still pretty crude, but it looks cool, provides good
information, and might be very useful.

Sample output:
http://hectic.midcoast.com/pm3/page.html

Sample program is at:
http://hectic.midcoast.com/pm3/sample.tar

YMMV, use at your own risk, etc... etc... This is run on Redhat Linux 5.2.

Comments should sent to snake@midcoast.com and jp@midcoast.com

-- 
/*
Jason Philbrook         |         Midcoast Internet Solutions
jp@midcoast.com         |     Internet Access, LAN, WAN, and Linux
www.midcoast.com/jp/    |   Service and Consulting for Midcoast Maine
*/

- To unsubscribe, email 'majordomo@livingston.com' with 'unsubscribe portmaster-users' in the body of the message. Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>