Hi, I m using linux as a router and proxy on same machine , i want to monitor bandwidth usage per ipaddress , so plz suggest me the tool that i can use to monitor bandwidth used by which every ipaddress. thanks in advance Abhishek Kr. Singh System Administrator DSC. LTD. Mob.No. +91-9871563248 Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070104/6c0681ed/attachment-0001.html>
abhishek singh wrote:> Hi, > > I m using linux as a router and proxy on same machine , i want to > monitor bandwidth usage per ipaddress , so plz suggest me the tool that > i can use to monitor bandwidth used by which every ipaddress.You may wish to look into SNMP in combination with some graphing software such as Cacti. However, you'll get per-interface stats, rather then per-address stats. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 187 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20070103/39fcbde4/attachment-0001.sig>
try bandwidthd. I use it. it works fine for me. It is very easy to setup . Step by step How to given below. rpm -ivh bandwidthd-2.0.1-1.i386.rpm [root at netmonitor ~]# cat /etc/bandwidthd.conf #################################################### # Bandwidthd.conf # # Commented out options are here to provide # documentation and represent defaults # Subnets to collect statistics on. Traffic that # matches none of these subnets will be ignored. # Syntax is either IP Subnet Mask or CIDR #subnet 10.0.0.0 255.0.0.0 #subnet 192.168.0.0/16 #subnet 172.16.0.0/12 subnet 192.168.101.0 255.255.255.0 subnet 192.168.102.0 255.255.255.0 subnet 192.168.100.0 255.255.255.0 # Device to listen on # Bandwidthd listens on the first device it detects # by default. Run "bandwidthd -l" for a list of # devices. #dev "eth0" dev "eth0" ################################################### # Options that don't usually get changed # An interval is 2.5 minutes, this is how many # intervals to skip before doing a graphing run #skip_intervals 0 skip_intervals 1 # Graph cutoff is how many k must be transfered by an # ip before we bother to graph it #graph_cutoff 1024 graph_cutoff 1024 #Put interface in promiscuous mode to score to traffic #that may not be routing through the host machine. #promiscuous true promiscuous true #Log data to cdf file htdocs/log.cdf #output_cdf false output_cdf true #Read back the cdf file on startup #recover_cdf false recover_cdf true #Libpcap format filter string used to control what bandwidthd see's #Please always include "ip" in the string to avoid strange problems #filter "ip" filter "ip" #Draw Graphs - This default to true to graph the traffic bandwidthd is recording #Usually set this to false if you only want cdf output or #you are using the database output option. Bandwidthd will use very little #ram and cpu if this is set to false. #graph true graph true #Set META REFRESH seconds (default 150, use 0 to disable). #meta_refresh 150 meta_refresh 150 [root at netmonitor ~]# cat /etc/httpd/conf.d/bandwidthd.conf Alias /bandwidth /usr/share/bandwidthd/htdocs <Location /htdocs> Order deny,allow Deny from all Allow from all </Location> /etc/init.d/bandwidthd start then browse as below http://ipaddress/bandwidth On 1/4/07, abhishek singh <abhishek.rhce at yahoo.co.in> wrote:> > Hi, > > I m using linux as a router and proxy on same machine , i want to monitor > bandwidth usage per ipaddress , so plz suggest me the tool that i can use to > monitor bandwidth used by which every ipaddress. > > > thanks in advance > > > > > Abhishek Kr. Singh > System Administrator > DSC. LTD. > Mob.No. +91-9871563248 > > Send free SMS to your Friends on Mobile from your Yahoo! Messenger. > Download Now! http://messenger.yahoo.com/download.php > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > > >-- Thank you Indunil Jayasooriya -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070104/ef9bc740/attachment-0001.html>
If that router/firewall/proxy is connected to a managed switch, monitor the switch via SNMP with RRD, or MRTG or Cacti. If you want ease of setup, MRTG is the way to go, if you want tons of cool features Cacti is for you but it requires a mysql database. Matt On 1/4/07, abhishek singh <abhishek.rhce at yahoo.co.in> wrote:> Hi, > > I m using linux as a router and proxy on same machine , i want to monitor > bandwidth usage per ipaddress , so plz suggest me the tool that i can use to > monitor bandwidth used by which every ipaddress. > > > thanks in advance > > > > Abhishek Kr. Singh > System Administrator > DSC. LTD. > Mob.No. +91-9871563248 > > Send free SMS to your Friends on Mobile from your Yahoo! Messenger. > Download Now! http://messenger.yahoo.com/download.php > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > > >
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 abhishek singh wrote:> Hi, > > I m using linux as a router and proxy on same machine , i want to > monitor bandwidth usage per ipaddress , so plz suggest me the tool that > i can use to monitor bandwidth used by which every ipaddress. > >Not sure if this will help you or not, but I have a small guide for using MRTG to set up graphs for various things. MRTG is easy to install and use and doesn't require a database at all. Setup for only watching traffic is almost automatically generated. It's not very detailed though and is a more simplistic approach to watching traffic. This basic setup will get you a daily, weekly, monthly, and yearly graph page for traffic on the eth interfaces. <http://www.maxsworld.org/index.php/how-tos/mrtg/> Hope this helps. Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFnPtfHoeeepPau2ERAg/JAJ95dHqilfXn0zTXIqg7bsMg6NrdeACfUElL CThyKrAAb/7PRT4JV51y7f0=Y6z2 -----END PGP SIGNATURE-----
abhishek singh wrote:> Hi, > > I m using linux as a router and proxy on same machine , i want to > monitor bandwidth usage per ipaddress , so plz suggest me the tool > that i can use to monitor bandwidth used by which every ipaddress. > > > thanks in advance > > > > > Abhishek Kr. Singh > System Administrator > DSC. LTD. > Mob.No. +91-9871563248 > > Send free SMS to your Friends on Mobile from your Yahoo! Messenger. > Download Now! http://messenger.yahoo.com/download.php > > ------------------------------------------------------------------------ > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >you might also look at ntop (ntop.org)..
On Thu, 2007-01-04 at 05:12 +0000, abhishek singh wrote:> Hi, > > I m using linux as a router and proxy on same machine , i want to > monitor bandwidth usage per ipaddress , so plz suggest me the tool > that i can use to monitor bandwidth used by which every ipaddress. > > > thanks in advance > > > > > Abhishek Kr. Singh > System Administrator > DSC. LTD. > Mob.No. +91-9871563248 > > Send free SMS to your Friends on Mobile from your Yahoo! Messenger. > Download Now! http://messenger.yahoo.com/download.php > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centosIf you want an per ip monitoring (or even port), then ntop is your tool. In addition you ca use RRD to provide an monitoring history. I use it for quite some time now and it never failed me. Cacti is also pretty neat, but only if you have an SNMP enabled host, to capture infos from. So my opinion: stick with ntop. Calin ================================================If you are what you eat, does that mean Euell Gibbons really was a nut?