LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-11-2012, 06:35 AM   #1
seccentral
LQ Newbie
 
Registered: Mar 2011
Distribution: Linux mint
Posts: 21

Rep: Reputation: 0
Linux bandwidth mon solution [ISP wide]


Hello.

I am trying to get a bandwidth monitoring solution up and i'd like to know what are my options.
Basically i am a small ISP (300-500 hosts) and would like to also provide vps services and monitor IN/OUT bytes per month for all ip addressess in a /24 range or w/e(doesnt matter much)

Now i could set up cacti but it wouldl tell me the overall bandwidth as per my router's eth.

What solution can i use that can monitor the in/out bandwidth per each ip addr i am routing (each customer) ?
 
Old 12-13-2012, 02:00 PM   #2
kenneth_phough
Member
 
Registered: Dec 2005
Location: Birmingham, AL
Distribution: CentOS, REHL, Vine Linux
Posts: 67

Rep: Reputation: 3
I would look into tc linux traffic shaping. I'm not sure if the solution I propose will be applicable to your settings but here it is:

1) Use iptables to mark packets and track data usage.

2) use tc and iptables (details about implementation can be found at lartc.org)
-use tc to set different classes with rate limits and ceils that suit your need.
-use iptables to mark packets from a specific mac address
-use tc to direct packets with certain marks set by iptables to your traffic shaping rules.
-have tc output data usage

I was also able to find this thanks to google: http://www.docum.org/docum.org/monitor/

I'm sure there are various ways to accomplish what you need and may take some time to get the right solution to your problem.

Last edited by kenneth_phough; 12-13-2012 at 02:01 PM.
 
Old 12-14-2012, 11:18 AM   #3
seccentral
LQ Newbie
 
Registered: Mar 2011
Distribution: Linux mint
Posts: 21

Original Poster
Rep: Reputation: 0
thank you, i appreciate what you are saying, however i want monitoring not shaping.
even so, this could work i guess but it would require some tech know-how for anyone wanting to view the stats.
i am looking for an already made open source solution that has a web-frontend with little tech background required by users.

for anyone else interested/having the same "problem" so far i've found bandwidthd, ntop, darkstat but i'm having some difficulties trying to monitor a specific network (i just see all the traffic everywhere, and -ntop wise-, it's a resource overkill)
 
Old 12-14-2012, 12:33 PM   #4
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Slack14_64_Multilib
Posts: 3,042
Blog Entries: 4

Rep: Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734
Quote:
...i am looking for an already made open source solution that has a web-frontend with little tech background required by users...
sounds just like zabbix.
 
  


Reply

Tags
bandwidth, linux, monitoring, traffic


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
isp bandwidth monitoring tools in linux salimshahzad Linux - Networking 11 05-14-2010 07:09 PM
One Box ISP Solution To Run An ISP swamprat Linux - Software 1 05-08-2008 06:25 PM
ISP bandwidth meter chrisfirestar Linux - Networking 1 02-24-2005 10:54 PM
System wide backup - need solution bkeating Linux - General 6 04-15-2003 01:05 PM


All times are GMT -5. The time now is 03:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration