Addition to BSDstats
Marc G. Fournier
scrappy at hub.org
Wed May 5 04:43:46 UTC 2010
can you tell me two things:
nslookup rpt.bsdstats.org
and the contents of /var/db/bsdstats
the results should have showed up instantly on the web site ... but, just
checking the database, I do find a connection from PH today at 2010-05-05
03:30:12.196478 ... and the country stats does show it:
#47 PH Philippines 1 2
3
Even on the FreeBSD specific screen:
#55 PH Philippines 1 0.03 %
If you can send me the output of /var/db/bsdstats though,I can confirm
that it is, in fact, your host that reported ...
On Wed, 5 May 2010, Fbsd1 wrote:
> Marc G. Fournier wrote:
>> On Tue, 4 May 2010, Marc G. Fournier wrote:
>>
>> Don't worry about it, found and fixed that bug ... it had to do with trying
>> to masquarade behind haproxy, so it looked like all systems were coming in
>> from Panama if they were running the newest code ... which means alot of
>> ppl out there were running *old* code ...
>>
>> Basically, by setting up haproxy to load balance, all IPs hitting the
>> backend were, as mentioned before, masquaraded ... but, of course, that
>> means that when Geo::IP trying to determine country of origin, it always
>> reports for the country of origin of the haproxy IP (Panama) ...
>>
>> I've fixed this ... still not recording IP, but at least the PHP script
>> determing country basis it on the proper IP, not the haproxy IP ...
>>
>> No changes required on the client side, as things will normalize over the
>> course of the next month as ppl report in ...
>>
>> If anyone on FreeBSD wishes to 'force an update':
>>
>> /usr/local/etc/periodic/monthly/300.statistics -nodelay
>>
>> will push it through ...
>>
>>
>>
>>
> Just did pkg_add -r bsdstats followed by
> /usr/local/etc/periodic/monthly/300.statistics -nodelay
>
> Still don't see any Freebsd systems listed for the Philippines on the
> website.
>
> What is YOUR definition of REAL-TIME.
>
----
Marc G. Fournier Hub.Org Hosting Solutions S.A.
scrappy at hub.org http://www.hub.org
Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:scrappy at hub.org
More information about the freebsd-questions
mailing list