From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 06:16:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 240BE16A404 for ; Sun, 4 Mar 2007 06:16:27 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id DD60F13C4B4 for ; Sun, 4 Mar 2007 06:16:26 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.182]) by hub.org (Postfix) with ESMTP id 0911085C8C2; Sun, 4 Mar 2007 02:16:25 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 70231-09; Sun, 4 Mar 2007 02:16:24 -0400 (AST) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 7A75C85BC20; Sun, 4 Mar 2007 02:16:24 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id BE3B83C82C; Sun, 4 Mar 2007 02:16:25 -0400 (AST) Date: Sun, 04 Mar 2007 02:16:25 -0400 From: "Marc G. Fournier" To: Sergio Lenzi , freebsd-questions@freebsd.org Message-ID: <16A3A48CBAF0090736E57844@ganymede.hub.org> In-Reply-To: <1172930249.27131.6.camel@localhost> References: <1172909930.68100.4.camel@localhost> <45E9318A.3090609@gmx.de> <1172930249.27131.6.camel@localhost> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: Re: bsdstats X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 06:16:27 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Saturday, March 03, 2007 10:57:29 -0300 Sergio Lenzi =20 wrote: > Em S?, 2007-03-03 =C3=A0s 09:27 +0100, [LoN]Kamikaze escreveu: > >> Sergio Lenzi wrote: >> > Question: Does the thin clients count as Freebsd servers in bsdstats??? >> >> If each client runs the bsdstats script and has its own hostname, yes. >> > > > Yes. that is the case... the thin clients have hostnames like: > cob.propagar, julia.propagar, comercial5.propagar.... > > that is: there is an internal NIS domain with DNS for email routing.. > and we expect to have several by the end of this year... where will be > freebsd "by the dozen"... > when the thin clients boots, it executes the script > "daemon /usr/local/etc/periodic ...." > is that right??? or should execute the script only once a month??? Good question here ... 'thin client' ... how does that handle the /var/db=20 directory? bsdstats creates a 'state file' in /var/db that contains unique identifies for=20 the client connecting, so that a) its anonymous and b) it reports as the same=20 host regardless of IP changes ... so, if /var/db is maintained across reboots, then running the stats script on=20 reboot will make sure the host is always reported, and /var/db/bsdstats will=20 make sure it doesn't report it as a new host each time its rebooted .. - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFF6mQ54QvfyHIvDvMRAoxCAJ9v/rkZEDpNZH4hO03h+olw/iDZ9QCcDeT2 ARuCswXxB3kIuv4RtJ5Nazc=3D =3DljkA -----END PGP SIGNATURE-----