Date: 26 Jan 2001 10:45:05 +0000 From: Wayne Pascoe <wayne.pascoe@realtime.co.uk> To: Gernot Hueber <hueber@riic.at> Cc: freebsd-questions@freebsd.org Subject: Re: virtual domains traffic accouting Message-ID: <m31ytqfv7y.fsf@zaphod.realtime.co.uk> In-Reply-To: <3A715167.5A60A4FE@riic.uni-linz.ac.at> References: <3A715167.5A60A4FE@riic.uni-linz.ac.at>
next in thread | previous in thread | raw e-mail | index | archive | help
Gernot Hueber <hueber@riic.at> writes: > Greetings, > > I want to gather traffic accounting informations of incoming and > outgoing traffic based on the virtual domains (apache, sendmail, ftp). > AFAIK trafd, mrtg, etc work on ip/port basis which is the same for all > domains. > > Is there a solution for this task? While not an ideal solution, I am currently doing the following : I have mrtg running and graphing traffic on the ports on the switch. Apache generates logs which I run through analog. This gives me a total amount of data transfered per virtual host. I add the traffic for all of the sites up, and then work out each virtualhosts traffic as a percentage of the total. This is then worked out as a percentage of the total traffic as reported by mrtg. It's not ideal because it doesn't take into account shell sessions used to maintain the box, but it's pretty close. -- - Wayne Pascoe E-mail: wayne.pascoe@realtime.co.uk Phone : +44 (0) 20 7544 4668 Mobile: +44 (0) 788 431 1675 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m31ytqfv7y.fsf>