We have a large intranet, with over 80 internal sites, each with it's
own subdomain. Because we use DHCP, we're not all that concerned about
resolving individual IP addresses (the information doesn't really tell
us much), but we are interested in knowing how much traffic is coming
from each site.
Right now, I do this by aliasing the IP subnet address to a subdomain
name, and then giving a descriptive name to the subdomain, eg:
...
HOSTALIAS 136.141.31.* wh.rohmhaas.com
HOSTALIAS 136.141.32.* wh.rohmhaas.com
HOSTALIAS 136.141.33.* wh.rohmhaas.com
SUBDOMAIN wh.rohmhaas.com ' 910 West Hill, Ontario, Canada'
...
(and so on for all the other subnets and subdomains).
There are (at least) two problems with this approach
1) because I'm aliasing the hosts, all hosts in each subnet are counted
as a single host, so I don't know how many individual hosts I'm serving.
(it's more than the 220 or so that Analog reports when configured this
way :-)
2) some small sites only use part of a 256 address subnet, so
136.141.7.12 might be xxx.moz.rohmhaas.com and 136.141.7.160 might be
yyy.efp.rohmhaas.com. I'm not sure how to create a HOSTALIAS to take
account of this - right now I create a combined SUBDOMAIN tag.
Is there a better way to do this that will allow me to get a useful
domain report, yet still get meaningful user numbers?
Aengus
______________________________ Reply Separator _________________________________
Subject: Re: [analog-help] HOSTALIAS mappings
Author: [EMAIL PROTECTED] at Internet
Date: 3/17/99 3:29 PM
Actually, this is something I have thought about a lot recently- it
seems to me that it would be a nice feature to only include the top-level
domain, and then one more part...
For example, if you resolve a name to "statlab.cam.ac.uk" simply list it
as "ac.uk" - or maybe "cam.ac.uk" to cover things like ".co.uk" Maybe a
runtime thing, like "SIGDOMPARTS 3" which would give you three "dots
worth" of domain information from the top level. (cam.ac.uk in this case)
Personally I think it makes a lot more sense to put this option into
analog itself, rather than generating massive files that have to be read
in every time you start up a stats process. Never mind maintaining these
files- which would be a job in itself...
In fact, one other thing that I've thought about- how about when you do
a lookup, giving the option to cache the name based on just the class-C
part of the address and using it for future lookups...
For example, you resolve 207.239.68.10 to "trelane.addy.com". You cache
this name, and when you get a request from 207.239.68.9 you determine
that 207.239.68.* is "addy.com" and have done with it.
Of course this system isn't perfect since not all domains are broken up
along class C network boundaries, but it would speed things up somewhat
(DNS lookups longer than everything else analog does combined) and it's
close enough since I'd bet that most of those "oddball" sites don't
originate traffic anyway.
Anyone else think about this and find something I haven't?
-=Jim=- Addy & Associates
P.S. My "exhaustive" list of config options is coming along. I need to
check it for completeness and accuracy, but I should have that done
tomorrow probably, and will post it here.
--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------
--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------