Re: Bandwidth monitoring
For monitoring bandwidth we write scripts which read the logs for apache, ftp and smtp.
The extracted data is then inserted into a postgresql database.
You can then do all sorts of SQL to analyze the data.
As users approach their limits they are emailed to notify them.
If the user's go over their quota the bytes are added up and added onto the users accounts.
We've written these scripts in Perl but in future I plan on using PHP as a scripting language
to do this.
Hope this helps.
Fraser Campbell wrote:
When installing servers in a colocated environment what do people
suggest for monitoring bandwidth used by virtual hosts on that server?
Traffic will be http, https and smtp. I'm hoping this can be
accomplished without dedicating an IP to each host/domain (with the
exception of https of course).