[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] newbie needs help / complete traffic monitoring



"H.P. Stroebel" <hpstr@xxxxxxxxxxxxx> writes:

> seems not to be bad; but how do you calculate ftp/email traffic ?

> do you know any complete solution ? (in the way the cobalt does, but not
> the way the cobalt does :-)) 

Well, I use a combination of ip-chains (or ipfwdm on RaQ2), IPAC and a
Perl-script I've written.

It handles bandwidth monitoring for every service (i.e. www,
mail, ftp, dns, etc. everything is monitored). It doesn't limit the
user in any way, but it shows the administrator a web page with a
listing of the number of megabytes transferred for each site during
any period.

The only catch, and it's a big one, is that you have to do this on an
ip-address basis. I.e. to monitor each site individually, you'll have
to give each site it's own ip address.


-- 
Jens Kristian Søgaard,
jk@xxxxxxxxxxxx -- http://www.jksoegaard.dk/
Søger du noget? -- http://www.google.com/
echo|perl -ple'$_+=4E-6*!int rand()**2+rand()**2while$i++-1E6'