It's a pity you haven't access to the Cisco (I assme the router is Cisco?) There's a nice command called "ip accounting". It will give you a table of IP addresses and how much traffic they have sent.
I occasionally use this with an Expect script to drag back a set of network stats on a particular router.
There are a number of non-intrusive methods too. We have some network probes that tap into the leased line and monitor it externally. A more expensive way of doing it though!
Oh well just my 2 pence....
Andi
"Mark Wilkinson" mark@wiggis.com on 02/05/2001 17:44:09 To: alug@stu.uea.ac.uk cc: (bcc: Andrew Chandler/PSD/LONDON/FTI)
Subject: Re: [Alug] IP Traffic monitoring
Hmm. That's where I was heading. The extract of the numbers is trivial and would give me 99% of their traffic.
I'll try to knock something up in Perl that whacks the data into a MySQL database directly. Could be an interesting project.
Cheers.
M.
----- Original Message ----- From: "Raphael Mankin" raph@panache.demon.co.uk To: "Mark Wilkinson" mark@wiggis.com Cc: "alug" alug@stu.uea.ac.uk Sent: Wednesday, May 02, 2001 5:26 PM Subject: RE: [Alug] IP Traffic monitoring
It's in the Apache access log. Everything that is sent and how big it is.
Not perfect; it does not include the overhead of setting up connections, but it is a start.
On 02-May-01 Mark Wilkinson wrote:
Hi everyone.
We are about to put a website online for an important customer but we want to monitor the bandwidth usage on a monthly basis and bill them accordingly.
Has anyone any ideas on how to do IP Traffic monitoring? We don't have access to the stats on our primary router (basically our upstream won't give us the data for some reason) so I just wanted to put some kind of packet counter in..
Any ideas or package recommendations? I've looked at sourceforge but am
not
sure of the products I'm finding there. I want a standalone product that doesn't look like a beast to install and dumps the data in a nice format for sticking into a database.
Cheers.
Mark W.
alug, the Anglian Linux User Group list Send list replies to alug@stu.uea.ac.uk http://rabbit.stu.uea.ac.uk/cgi-bin/listinfo/alug See the website for instructions on digest or unsub!
---------------------------------- ... all the fallacious exactitude that characterises a statistical table. - Eric Partridge E-Mail: Raphael Mankin raph@panache.demon.co.uk Date: 02-May-01 Time: 17:25:52 ----------------------------------
_______________________________________________ alug, the Anglian Linux User Group list Send list replies to alug@stu.uea.ac.uk http://rabbit.stu.uea.ac.uk/cgi-bin/listinfo/alug See the website for instructions on digest or unsub!
********************************************************************* * Please visit the web site of the Financial Times at: * * http://www.ft.com * * * * For UK personal finance, please visit http://www.ftyourmoney.com * * * * This E-Mail is intended for the use of the addressee only and may * * contain confidential information. If you are not the intended * * recipient, you are hereby notified that any use or dissemination * * of this communication is strictly prohibited. * * If you receive this transmission in error, please notify us * * immediately then delete this E-Mail. * * * * * postmaster@ft.com * *********************************************************************
********************************************************************* * Please visit the web site of the Financial Times at: * * http://www.ft.com * * * * For UK personal finance, please visit http://www.ftyourmoney.com * * * * This E-Mail is intended for the use of the addressee only and may * * contain confidential information. If you are not the intended * * recipient, you are hereby notified that any use or dissemination * * of this communication is strictly prohibited. * * If you receive this transmission in error, please notify us * * immediately then delete this E-Mail. * * * * * postmaster@ft.com * *********************************************************************