Bandwidth monitor for a server with many virtual hosts

Scott Elcomb psema4-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Wed Aug 15 18:36:26 UTC 2007


On 8/15/07, Madison Kelly <linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org> wrote:
>    Until now, I have not worried about how much bandwidth various
> customers whom we host use. Now that our number of clients grows though,
> I need to start tracking who uses how much bandwidth.
>
>    What do you guys here use to log bandwidth usage? Our clients use
> mail, web and can copy data to/from the server via scp/rsync. I suspect
> I could hack up something using TCP dump, but I really doubt I could
> come up with something elegant and efficient. :)

I've happily been using AWStats for several years.  It doesn't track
scp or rsync but does analyze and report web, ftp, and mail traffic.

It's written in Perl; you may be able to extend it with additional log
parsers for scp, rsync, tcp, etc.

http://awstats.sourceforge.net/

-- 
Scott Elcomb  [ http://www.psema4.com/ ]

"Our Founders' faith in the viability of representative democracy
rested on their trust in the wisdom of a well-informed citizenry,
their ingenious design for checks and balances, and their belief that
the rule of reason is the natural sovereign of a free people." - Al
Gore (The Assault on Reason, 2008)

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."  - Benjamin Franklin

'"A lie can travel halfway around the world while the truth is putting
on its shoes."  - Mark Twain
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list