[lazarus] Sockets Linux OT
Curtis White
osiriz at teleport.com
Wed Aug 11 23:34:17 EDT 1999
I can't help you much with how to do this in FPC, but if you want it, I do have
a program like this that I wrote in Java.
Basically, you can run it in cron and it will check the status of as many
different web servers as you want and send an email notification to any number
of people on a list (or not send an email - configurable). You can also setup a
list of pager email addresses that it can send a page email to. Everything is
configurable in .conf files. You can have as many web servers as you want and
can configure all kinds of stuff for each server. It is a pretty nice program.
It is all in Java though. If you want a copy of it, let me know and I will send
it to you.
Curtis
On 12-Aug-99 Cliff Baeseman wrote:
> Does anyone know how to grab a web page from a web server using free pascal
> sockets under linux.
>
> Here is what I need to do.
>
> 1. I have a server web cluster put together at work.
>
> 2. It works great but I need something that can monitor the connected web
> servers for problems. The way I need to do it is just do a simple page
> request in some code and see if I get a return from the server on a timed
> loop.
>
> 3. This utility will just then dynamically add or remove servers from the
> real server list.
>
> The contents of the page I get back from the server does not need to be
> processed I just have to know that I got it.
>
> Any Ideas?
>
> Cliff
>
> _________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.miraclec.com/list_archives/lazarus
----------------------------------
Curtis White
Curtis White <osiriz at teleport.com>
http://www.teleport.com/~osiriz/
----------------------------------
More information about the Lazarus
mailing list