On Tue, 11 Jan 2000, Stu Baker wrote:

> <http://www.library.nwu.edu/w3/stats/wwwnul20000109.html#Rep15>
> 
> I have a page up that I am working on. My basic problem is that I 
> want to combine the results of hosts that match certain regular 
> expression patterns (they are not on separate subnets)
> 
> I have read the documentation which warned about using hostalias to 
> do this. Actually hostalias gave me the desired result in the hosts 
> report, but messed up the domain and organization reports. If I use 
> hostoutputalias I get the label but not the combined statistics that 
> I want in the hosts  or domain report.
> 
> What I basically want is the ability to have machines
> 
> public*.library.nwu.edu (Grouped as PUBLIC WORKSTATIONS in hosts reports)
> staff*.library.nwu.edu (Grouped as PUBLIC WORKSTATIONS in hosts and 
> domain reports)
> 
> Am I missing something here? Is there a way to have my cake and eat 
> it to. Can I configure HOSTALIAS in a way that does not mess up the 
> domain and organization reports?
> 

Yes. You need to first use HOSTALIAS to group them into something that looks
like a hostname. Then HOSTOUTPUTALIAS (and DOMOUTPUTALIAS) to translate them
in the reports. Something like this:

HOSTALIAS public*.library.nwu.edu publicworkstations.library.nwu.edu
HOSTOUTPUTALIAS publicworkstations.library.nwu.edu "(Public Workstations)"

-- 
Stephen Turner    [EMAIL PROTECTED]    http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
  "Children from St Lawrence's School have buried a time capsule to mark both
   the millennium and National Tree Week." Cambridge Town Crier, 16/12/99

------------------------------------------------------------------------
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.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to