From owner-freebsd-questions Wed Apr 29 04:47:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA07219 for freebsd-questions-outgoing; Wed, 29 Apr 1998 04:47:41 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from stk_file.airtime.se (mail.tv3.se [193.14.64.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA07198 for ; Wed, 29 Apr 1998 04:47:31 -0700 (PDT) (envelope-from patrik.astrom@tv3.se) Received: by STK_FILE with Internet Mail Service (5.0.1457.3) id ; Wed, 29 Apr 1998 13:46:14 +0200 Message-ID: <43A432602D33D111BA8F00805FA6FE132CC789@STK_FILE> From: =?iso-8859-1?Q?Patrik_=C5str=F6m?= To: "'freebsd-questions@freebsd.org'" Subject: Monitoring a HTTP service !! Date: Wed, 29 Apr 1998 13:46:13 +0200 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1457.3) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! I need to monitor a Microsoft IIS server, I have lots of trouble with this one and can not change to FreeBSD due to some special applications. I would like to be able to have cron job that calls a program that checks if this server respond to http requests. I could make bourne script and use "wget" or some other software to retrieve a .html document but I don't want to retrieve a document just se if the server respond to calls on port 80. Is there a perl script that use the "socket" call or some other neat way to fix this, I would be most grateful for any hints or suggestions. Regards Patrik Astrom, Stockholm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message