From owner-freebsd-questions Thu Mar 29 12:24:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-50.dsl.lsan03.pacbell.net [63.207.60.50]) by hub.freebsd.org (Postfix) with ESMTP id D075F37B71C for ; Thu, 29 Mar 2001 12:24:32 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 8C33066B41; Thu, 29 Mar 2001 12:24:32 -0800 (PST) Date: Thu, 29 Mar 2001 12:24:32 -0800 From: Kris Kennaway To: Michael Lucas Cc: questions@freebsd.org Subject: Re: monitor arbitrary URL connectivity? Message-ID: <20010329122432.G5300@xor.obsecurity.org> References: <20010329145324.A72375@blackhelicopters.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="DWg365Y4B18r8evw" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010329145324.A72375@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Thu, Mar 29, 2001 at 02:53:24PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --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