What's wrong with a simple telnet script to port 80?
telnet www.host.com 80
GET /
???
On Thu, 26 Feb 1998, Roger Books wrote:
> Date: Thu, 26 Feb 1998 10:03:21 -0500 (EST)
> From: Roger Books <books @
mail .
state .
fl .
us>
> To: firewalls @
GreatCircle .
COM
> Subject: Re: Monitoring Web Server
>
>
> > > Does anyone know of a program that will monitor a web server (no ping,
> > > but an actual access of the URL), and if the access doesn't work, page
> > > me...
> > >
> > > I would prefer a DOS, Win 3.X or WIN95 solution. But will go to NT or
> > > UNIX if need be.
> > >
>
> You might check into BB (Big Brother). This is mainly unix though. If
> you want to take a look at my (rewritten version) it's at:
>
> http://www.geocities.com/Area51/Cavern/2371/
>
> My version is all C and TCL/Scotty, I don't really think it will run
> on NT without Mods.
>
> The scotty http get pulls the info and stores it into a file, I send
> it to /dev/null and just make sure the return value is valid. You
> could send it to a file and then verify the contents.
>
> I do my paging with qpage on my Solaris box, but qpage also (I believe)
> runs on Linux.
>
> This is a little heavier duty system than what you are asking for, it
> does http, snmp, tacacs, %full on disk, items in mail spool, etc etc.
>
> Also, before anyone flames me, this, like the regular BB, counts on the
> client not lieing about who it is. I do some trivial checks to make
> sure it isn't garbage and make sure the message isn't too long. The
> part that accepts the input from the clients runs from inetd, so you
> should wrapper it. It also does a few things like "retry for 10 minutes
> before paging me after hours", "don't page me during network maintenance
> time", page me if it comes back, etc etc. The one thing I really need
> to do though is not have it page me for everything when the local gateway
> goes down or the MAN in Tallahassee drops. (Our network is bridged over
> the MAN.)
>
> Roger
>
pat
:)
Pat Trainor|System Administration|Network Operations|GTE Internetworking
________________________________________________________________________
__ __ _ _______________________ __ __ ___ _
_ _________ ____ ______GTE_Internetworking__ ___ _ ___ _ __ _
_ __ ____ ____ _________________________ __ __ _ _ _
_ ___ ____ ____ ________Powered_by_BBN_____ ___ _ ___ _ __ _
__ ____ ____ _______________________ __ __ ___ _
________________________________________________________________________
ptrainor @
bbnplanet .
com ptrainor @
bbn .
com ptrainor @
bbnplanet .
net
Perl, PHP/FI, *NIX, HTML, CGI, SQL, RDBMS, NT*, Security, Admin, ...
will program for boat
Follow-Ups:
References:
|
|