[JaxPM] udp to tcp proxy

Nate Campi nate at campin.net
Tue Apr 9 14:48:22 CDT 2002


On the jacksonville-pm-list; Jax.PM'er Nate Campi <nate at campin.net> wrote -

On Tue, Apr 09, 2002 at 02:41:17PM -0400, Bill -Sx- Jones wrote:
> On the jacksonville-pm-list; Jax.PM'er Bill -Sx- Jones <sneex at mac.com> wrote -
> 
> On 4/9/02 2:36 PM, "Nate Campi" <nate at campin.net> wrote:
> 
> > ... we have perl daemons
> 
> Interesting  :)
> 
> Can you share your knowledge with the group?  If authorized, of course.

Later on I'll post a description, not code, there's no problem with
discussing techniques. This code is mostly years old, too. 

Quick summary: using perl's libwww and the expect language (I don't
think the expect perl module was around when this was written) we
monitor HTTP return codes, and connect to network equipment and hosts as
a result of HTTP failures. Pretty much as simple as that. Hosts come out
of service as soon as they fail, web server is restarted and if it
starts returning 200's again, goes back in service in the load balancer.
It the scripts can't fix it they page a human.

Pretty simple, actually.
-- 
"If you give someone a program, you will frustrate them for a day; if
you teach them how to program, you will frustrate them for a lifetime." 


Jax.PM Moderator's Note:
This message was posted to the Jacksonville Perl Monger's Group listserv.
The group manager can be reached at -- owner-jacksonville-pm-list at pm.org
to whom send all praises, complaints, or comments...




More information about the Jacksonville-pm mailing list