Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Mar 2007 02:16:25 -0400
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        Sergio Lenzi <lenzi@k1.com.br>, freebsd-questions@freebsd.org
Subject:   Re: bsdstats
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>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- --On Saturday, March 03, 2007 10:57:29 -0300 Sergio Lenzi <lenzi@k1.com.br>=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-----




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