Kolyan has asked for the wisdom of the Perl Monks concerning the following question:

Hello, dear Monks!

Frequent problems with AGate 200 (msdsl modem) device makes me think about writing a Perl program to monitor the state of the link and reset the AGate if it misfunctioning.

For a beginning I planned to ping the other end's Agate periodically and if it's not accessible - attempt to reset local one via telnet. And notify admins on email if reset failed or didn't helped that much.

This device also support SNMP, so I accept that better solutions are possible.

But before I invent my own (quick and dirty) wheel I want to ask you Wise Monks if similar tools already written, so it's faster to adopt one and enjoy the life?

Any suggestions highly appreciated.

Kolyan