Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2001 12:24:32 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Michael Lucas <mwlucas@blackhelicopters.org>
Cc:        questions@freebsd.org
Subject:   Re: monitor arbitrary URL connectivity?
Message-ID:  <20010329122432.G5300@xor.obsecurity.org>
In-Reply-To: <20010329145324.A72375@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Thu, Mar 29, 2001 at 02:53:24PM -0500
References:  <20010329145324.A72375@blackhelicopters.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--DWg365Y4B18r8evw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 29, 2001 at 02:53:24PM -0500, Michael Lucas wrote:
> Hello,
>=20
> I'm looking for a port that will monitor arbitrary URLs and make sure
> that they a) can be reached, b) don't give an error.
>=20
> It's easy enough to monitor the availability of port 80, but that
> won't tell you if the database that generates a particular web page is
> available.
>=20
> Any suggestions?

Use fetch(1) in the base system, and check the exit status to decide
whether or not it succeeded.

Kris

--DWg365Y4B18r8evw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE6w5oAWry0BWjoQKURApXTAJoCoxf2RPLSolq7CYatBEN0ATaDhACg/wzo
bkK4G8Im153D5leA0WU4B+g=
=d+1E
-----END PGP SIGNATURE-----

--DWg365Y4B18r8evw--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010329122432.G5300>