From wosch@panke.de.freebsd.org Wed Feb 24 14:15:39 1999
Return-Path: <wosch@panke.de.freebsd.org>
Received: from baerenklau.de.freebsd.org (baerenklau.de.freebsd.org [195.185.195.14])
	by hub.freebsd.org (Postfix) with ESMTP id 6985612383
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 24 Feb 1999 14:11:39 -0800 (PST)
	(envelope-from wosch@panke.de.freebsd.org)
Received: (from uucp@localhost)
	by baerenklau.de.freebsd.org (8.8.8/8.8.8) with UUCP id PAA26090
	for FreeBSD-gnats-submit@freebsd.org; Wed, 24 Feb 1999 15:42:50 +0100 (CET)
	(envelope-from wosch@panke.de.freebsd.org)
Received: (from wosch@localhost)
	by paula.panke.de.freebsd.org (8.9.3/8.8.8) id PAA33279;
	Wed, 24 Feb 1999 15:25:44 +0100 (CET)
	(envelope-from wosch)
Message-Id: <199902241425.PAA33279@paula.panke.de.freebsd.org>
Date: Wed, 24 Feb 1999 15:25:44 +0100 (CET)
From: Wolfram Schneider <wosch@panke.de.freebsd.org>
Reply-To: wosch@panke.de.freebsd.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: We need a script which check if our web mirrors are up to date
X-Send-Pr-Version: 3.2

>Number:         10240
>Category:       docs
>Synopsis:       We need a script which check if our web mirrors are up to date
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    wosch
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 25 10:20:01 PST 1999
>Closed-Date:    Tue Mar 11 06:47:10 PST 2003
>Last-Modified:  Tue Mar 11 06:47:10 PST 2003
>Originator:     Wolfram Schneider
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:


We need a script which check if our web mirrors are up to date
and in sync with the main FreeBSD webserver www.freebsd.org

The list of official web mirror site is available
from the homepage http://www.freebsd.org

http://www.freebsd.org/index.html
<OPTION VALUE="http://www.au.freebsd.org/">Australia/1</OPTION>;
<OPTION VALUE="http://www2.au.freebsd.org/">Australia/2</OPTION>;
<OPTION VALUE="http://www3.au.freebsd.org/">Australia/3</OPTION>;
<OPTION VALUE="http://www.br.freebsd.org/www.freebsd.org/">Brazil/1</OPTION
>Description:
 >;
 <OPTION VALUE="http://www2.br.freebsd.org/www.freebsd.org/">Brazil/2</OPTIO
 N>;
 <OPTION VALUE="http://www3.br.freebsd.org/">Brazil/3</OPTION>;
 <OPTION VALUE="http://www.bg.freebsd.org">Bulgaria</OPTION>;
 [...]
 
 
 Now you can do a HEAD request for every mirror
 and check if
         a) the server is up and running
         b) is up to date - field 'Last-Modified'
         c) the 'Content-Length' is correct
 
 $ lynx -dump -head http://www.freebsd.org/
 HTTP/1.1 200 OK
 Date: Tue, 08 Dec 1998 17:55:26 GMT
 Server: Apache/1.3.x (Unix)
 Last-Modified: Fri, 04 Dec 1998 00:02:32 GMT
 ETag: "ac907-2c14-36672698"
 Accept-Ranges: bytes
 Content-Length: 11284
 Connection: close
 Content-Type: text/html
 
 The FreeBSD homepage does not changed often. It should
 be possible to check other pages than the hompage too, e.g.
 
 http://www.freebsd.org/handbook/
 http://www.freebsd.org/FAQ/
 http://www.freebsd.org/ports/
 http://www.freebsd.org/news/qnewsletter.html
 
 
 The result should be a short message, e.g.
 
 44 Mirrors, 40 up, 4 down
 35 mirrors up to date, 3 mirrors are older than 2 weeks
 [List of outdated mirrors ...]
 
 
 
 We have a similar script for FTP Servers, see
 
 http://www.itworks.com.au/~gavin/FBSDsites.php3
 RELEASE/SNAP finder for FreeBSD FTP servers. A resource that would
 allow anyone to find a FTP server that contains particular releases
 and SNAP of FreeBSD. The database is updated daily at 3am Melbourne
 time (10 hours ahead of GMT).
 
 Wolfram
 
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:

From: "Charles A. Wimmer" <charles@wimmer.net>
To: freebsd-gnats-submit@FreeBSD.org, wosch@panke.de.freebsd.org,
	doc@FreeBSD.org
Cc:  
Subject: Re: docs/10240: We need a script which check if our web mirrors are up 
 to date
Date: Mon, 06 Mar 2000 23:49:43 -0500

 I have written a script that will check the freebsd.org web mirrors 
 and report their mirror status.  The script can be found at:
 
 http://www.wimmer.net/webcheck.txt
 
 Here is the output:
 
 60 Mirrors, 41 up, 19 down
 47 mirrors up to date, 10 mirrors are older than 2 weeks
 
 Mirrors that are more than 2 weeks out of date:
 
      http://www.br.FreeBSD.org/www.freebsd.org/
      http://www3.au.FreeBSD.org/
      http://www2.br.FreeBSD.org/www.freebsd.org/
      http://www.pl.FreeBSD.org/
      http://www.pt.FreeBSD.org/
      http://www.tr.FreeBSD.org/
      http://www3.br.FreeBSD.org/
      http://www3.pt.FreeBSD.org/
      http://freebsd.itworks.com.au/
      http://www.is.FreeBSD.org/
 
 Mirrors that are down:
 
 There are: 19 servers down.
      http://www2.za.FreeBSD.org/
      http://www.cz.FreeBSD.org
      http://www.bg.FreeBSD.org
      http://www.kr.FreeBSD.org/
      http://www.dk.FreeBSD.org
      http://www2.cz.FreeBSD.org
      http://www.lv.FreeBSD.org/
      http://www.ca.FreeBSD.org/
      http://freebsd.s1web.com/
      http://freebsd.advansys.net
      http://www.tw.FreeBSD.org/www.freebsd.org/data/
      http://www3.ca.FreeBSD.org
      http://www.nz.FreeBSD.org/
      http://www2.kr.FreeBSD.org/
      http://www2.ca.FreeBSD.org/
      http://www.ua.FreeBSD.org/
      http://www.sk.FreeBSD.org/
      http://www.ro.FreeBSD.org/
      http://www.cn.FreeBSD.org
 
Responsible-Changed-From-To: freebsd-doc->wosch 
Responsible-Changed-By: asmodai 
Responsible-Changed-When: Wed May 24 08:42:54 PDT 2000 
Responsible-Changed-Why:  
It originated from Wolfram himself, allow him to decide how to deal 
with this. 

From: Eric Anderson <anderson@centtech.com>
To: freebsd-gnats-submit@freebsd.org, wosch@panke.de.freebsd.org
Cc:  
Subject: Re: docs/10240: We need a script which check if our web mirrors are up 
 to date
Date: Thu, 15 Aug 2002 08:19:25 -0500

 Why was this never used, or closed?  
 
 Eric
 
 
 -- 
 ------------------------------------------------------------------
 Eric Anderson	   Systems Administrator      Centaur Technology
 The moon may be smaller than Earth, but it's further away.
 ------------------------------------------------------------------
State-Changed-From-To: open->closed 
State-Changed-By: wosch 
State-Changed-When: Tue Mar 11 06:46:28 PST 2003 
State-Changed-Why:  
The script was imported into the cvs tree: www/tools/mirror-status 

http://www.freebsd.org/cgi/query-pr.cgi?pr=10240 
>Unformatted:
