Stone Steps Forums
Home All Threads   Register Log In
1 2 3 < >
#1funkyEd
No Country Graph - DNS resolver not needed
Hello,
Thanks for your Great Job.
The problem :
No country Graph without DNS and GeoIp.
All my logs are already DNS resolved so, i dont't need to resolv it once again.
But when Webalizer make his job, no Graph for countries (all the rest is ok).

Log extract (with virtual host name info) : ARennes-551-1-83-17.w92-139.abo.wanadoo.fr - - [10/Feb/2010:00:10:23 +0100] "GET /php/start.js HTTP/1.1" 200 14223 "http://www.piscine-couverte.com/fra.html" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.1.4322; IE7-01NET.COM-1.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; IE7-01NET.COM-1.1)"

I have put in conf (but it does the same without that) : ApacheLogFormat %v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"

Webalizer : v3.8.0.4 on Mandriva (base on your Deb package)

If DNS+GeoIP = Country Graph (but not very precise and i don't need to resolv DNS!)
If GeoIP only = no Country Graph
If DNS only = no Country Graph

I need Country Graph... how to get that ? (without DNS resolver and GeoIP is not important)

Thanks a lot - you can answer in French if you want ;o)
#2Stone Steps
SSW ignores pre-resolved DNS entries. This is by design. See this discussion for more information:

http://forums.stonesteps.ca/thread.asp?t=207

In case you can build SSW from the source, you may find useful a workaround described in that thread.

Andre
#3funkyEd
Done... but no changes.
Thanks for your quick Reply !

I've compiled with the add :
if(!is_ip4_address(hnode->string)) {
string_t ccode;
ccode.hold(hnode->ccode, 0, true, hnode_t::ccode_size+1);

hnode->name = hnode->string;
dns_derive_ccode(hnode->name, ccode);

hnode->resolved = true;
hnode->scheduled = false;
return true;
}

Compiled on debian without pb with :
apt-get install g++-4.2 libdb4.5++-dev libgd2-xpm-dev

But in fact, nothing change : Country Graph = 1 color... (100% unresolved)

I have put of course (cause of pre-resolved DNS) :
#DNSCache ssss
#DNSCacheTTL 30
#DNSChildren 20
#GeoIPDBPath xxxx


I've forgot something ?

Thanks for your Help.
Ed
#4Stone Steps
Try uncommenting DNSCache and DNSChildren in your configuration.

Andre
#5funkyEd
In action...
With :

#DNSCache ssss
#DNSCacheTTL 30
#DNSChildren 20
#GeoIPDBPath xxxx

Process time : 8 s for 120835 records


With :

DNSCache ssss
#DNSCacheTTL 30
DNSChildren 20
#GeoIPDBPath xxxx

Process time : 586 s for 120835 records

Not possibility to do better ?

and effectively i have a country graph !!!
But... .net are considering like unresolved ? Because between Webalizer 2002 and SSW, % are very differents... so strange...

Thanks fo your help and good "week end" !
Ed.
#6Stone Steps
I'd have to take a look at the code to see how .net is handled in the context of this workaround (it is not a country after all). As for numbers being different, SSW handles visits slightly differently:

http://www.stonesteps.ca/projects/webalizer/faq.asp?qid=q20051224-01&topic=webalizer

Also, country stats do not show active visits because per-visit averages cannot be calculated until a visit is finished and are closed at the end of each month.

Andre
#7funkyEd
Visits by Referent
Thanks for your explanations.

Do you think it is possible to get visits by referents ?
It will be a good information like how many visits comme from Google.

Thanks.
Ed.
#8funkyEd
Translation under tables : english -> french
I have seen somes sentences not translated in French, if i can help :
EN :
msg_misc_pages = Pages - document requests (e.g. html, asp, txt); Files - successful requests of all types (e.g. html, gif, css); Hits - all requests, including errors;
msg_misc_visitors = Visitors are identified by IP addresses. Two or more visitors sharing the same IP address (e.g. firewall address) will be counted as a single visitor.
msg_misc_robots = Robot activity is excluded from the Country, Entry and Exit URL reports

FR :
msg_misc_pages = Pages - documents demandés (ex: html, asp, txt); Fichiers - demandes réussies de tout type (ex: html, gif, css); Hits - toutes les demandes, incluant les erreurs;
msg_misc_visitors = Les visiteurs sont identifiés par adresses IP. 2 visiteurs ou plus, partageant la même adresse IP (ex: derrière un pare-feu) sont comptabilités comme un seul visiteur.
msg_misc_robots = L'activité des Robots est exclue des rapports des Pays, Pages de Sorties et Pages d'Entrée.
#9funkyEd
tanslation error
in "msg_misc_visitors" change : "comptabilités" by "comptabilisés"

#10Stone Steps
Thank you for the translations.

There is no way right now to count visits by referrer. It's a good idea, though. I will consider it for the next release.

Andre
1 2 3 < >
Format Codes
{b}bold{/b} bold
{i}italic{/i} italic
{u}undelined{/u} underlined
{strike}line-through{/strike} line-through
{color=blue}blue{/color} blue
{size=1.1}1.1em{/size} 1.1em
{samp}sample{/samp} sample
{pre}formatted
text{/pre}
formatted 
text
{noparse}{b}{/noparse} {b}
{q}inline quote{/q} inline quote
{blockquote}block quote{/blockquote}
block quote