From owner-freebsd-ports@FreeBSD.ORG  Sat Feb  5 21:59:03 2011
Return-Path: <owner-freebsd-ports@FreeBSD.ORG>
Delivered-To: freebsd-ports@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 639E7106566B
	for <freebsd-ports@freebsd.org>; Sat,  5 Feb 2011 21:59:03 +0000 (UTC)
	(envelope-from dnaeon@gmail.com)
Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com
	[74.125.82.182])
	by mx1.freebsd.org (Postfix) with ESMTP id F01238FC08
	for <freebsd-ports@freebsd.org>; Sat,  5 Feb 2011 21:59:02 +0000 (UTC)
Received: by wyf19 with SMTP id 19so3523481wyf.13
	for <freebsd-ports@freebsd.org>; Sat, 05 Feb 2011 13:59:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:date:message-id:subject:from:to:cc
	:content-type; bh=Ixi/53rhADtluhU9j6/RYPxr1HQoWyhyc7syCgKZXB4=;
	b=sDlycK4yAfgclyqWU2tyrTQWuVtSNh+zE3v5UawmGXyDn81MUZSPb+/ILhUrEprILO
	wdEq09SZE+nMX0ghV1CDRx075tkXq+/5AT5I2YPF0xHu73pzCgq5Unl3CIE5PQWTqCL7
	scJnFPwel15KgUPhfYm5ymeatpcmOTP84+oR8=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:date:message-id:subject:from:to:cc:content-type;
	b=DzBWhntx7MrJysVSjYXV0hoibmadxG2tCg+LGEGHNhFcAZA4A7ss6kidHOQqhpLWod
	4IxXo96MZhZuzhs1g1SeRgHHPE3oiikI/pz8LI1hx5uM/Kof9Z//nFyiaIVYr9I+gbUO
	EXz8PuFCcSKTwU7jR4zi8GkgvpDltnUt+AwlM=
MIME-Version: 1.0
Received: by 10.227.195.79 with SMTP id eb15mr13659381wbb.192.1296943141546;
	Sat, 05 Feb 2011 13:59:01 -0800 (PST)
Received: by 10.227.145.15 with HTTP; Sat, 5 Feb 2011 13:59:01 -0800 (PST)
Date: Sat, 5 Feb 2011 23:59:01 +0200
Message-ID: <AANLkTi=HxUZQXfFRHsh90Tg8FoFCrh-nz2OPtt9CACoq@mail.gmail.com>
From: Marin Atanasov Nikolov <dnaeon@gmail.com>
To: freebsd-ports@freebsd.org
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
Cc: brad@mrunix.net
Subject: wa-admin for managing webalizer log files
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports>
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Feb 2011 21:59:03 -0000

Hello,

Today I've decided to try one of the available tools for analyzing log files
and stopped at webalizer.

Looks nice and neat, runs pretty fast - in general it's all need for the
moment.

My setup is pretty general - a couple of jails with Apache servers running
on them, and one
Apache proxy server in front of them for the externally accessible jails.

So, I just installed webalizer to give it a try, configured it, went through
the documentation, etc..

Then I realized that adding multiple logfiles to be analyzed by webalizer is
not as simple
as I thought (or I missed something on the way?).

Adding webalizer for one single httpd-access.log file is simple, the problem
in my case comes when I need
to add all the log files, which are on the Apache web proxy server for
analyzing. After checking here and there
I see all the people are using some custom made scripts and customizing the
whole www directory tree
just to get webalizer working for them, which is not something that I want.

Anyway, I decided to make my own script for managing multiple Apache log
files with webalizer, and I came up with wa-admin :)

What it basically does is that you give it a log file and a hostname, and it
creates all the needed things to get access
to all your webalizer logs from one single location - another Apache vhost
or directory on the same jail.

Anyway, I've start a test jail on one of my systems for a demo, just to see
what I mean, because sometimes
it's better to see rather than speaking :)

 - http://monitor.unix-heaven.org/

It's nothing special, though but it makes managing and viewing webalizer log
files much easier, when you have one
single page with all your machines and log files, rather than logging to
each Apache host and it's webalizer docroot.

The code is here:

 - git.unix-heaven.org/cgit.cgi/wa-admin

Just wanted to ask if anyone is interested in actually getting this to the
Ports Tree?

Again, it's nothing special, it's just the result of a few hours work :)

Regards,
Marin

-- 
Marin Atanasov Nikolov

dnaeon AT gmail DOT com
daemon AT unix-heaven DOT org
http://www.unix-heaven.org/