[Xitami] W2K Xitami 2.4d9 crash
M. Jason Smiley
xitami@lists.xitami.org
Wed, 17 Apr 2002 18:31:34 -0400
we have something like that. we just send request to specific ports and see
if a response come back (try telneting to port 25 of a mail server or port
80 of a web server). we do this for business purposes..... but i've added my
own to test my web / mail / camera servers at home ;-)
as for restarting the apps - that's another application. our stuff is
complex enough that it needs to be researched and fixed by a person. but a
web or mail server should be pretty simple to restart. i have a batch job
running every night for backups. i also restarts mail servers, dns, etc.
any errors are sent to email or pagers.
simple testing isn't that difficult to develop. ewen's post is another good
example of a way to do this.
----- Original Message -----
From: "Ewen McNeill" <ewen@imatix.com>
To: <xitami@lists.xitami.org>
Sent: Wednesday, April 17, 2002 5:54 PM
Subject: Re: [Xitami] W2K Xitami 2.4d9 crash
> In message <3CBDB1C6.24094.229BAEA1@localhost>, "Brad Smith" writes:
> >In lieu of an explanation, if someone can guide me to a way I can create
> >a simple service listener, I could deal with option. In other words, a
little
> >app that listens to Xitami, checking to see if it is still running, and,
> >if not, restarts it.
>
> You don't want to "listen" to Xitami; you want to "check up" on Xitami.
> What I do with some servers I monitor is have a special test URL (eg, a
> HTML page with some recognisable text on it), and then have a small perl
> program (eg, using LWP) check that URL from time to time. If it doesn't
> get the "right" response, then it restarts Xitami (or whatever is being
> monitored).
>
> Ewen
>
> --
> Ewen McNeill, Technical Consultant, iMatix Corporation www.imatix.com
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>