Welcome to Dream.In.Code
Getting Help is Easy!

Join 107,426 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,242 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Bandwidth monitoring?

 
Reply to this topicStart new topic

Bandwidth monitoring?

girasquid
post 5 Mar, 2008 - 09:48 AM
Post #1


Barbarbar

Group Icon
Joined: 3 Oct, 2006
Posts: 1,146



Thanked 6 times

Dream Kudos: 625
My Contributions


Hello, all.

I recently moved a server into my company's co-location closet, and they are planning on charging me $x/GB of bandwidth/month. My server is running Apache2, and using virtualhosts to host multiple websites. I am looking for a way to monitor the bandwidth of the box in it's entirety, and of each individual virtualhost - does anyone know of a way to do this? I need to monitor both the incoming and outgoing bandwidth, not just the outgoing(so something like awstats won't work).

Thanks,
Girasquid
User is offlineProfile CardPM

Go to the top of the page


skyhawk133
post 5 Mar, 2008 - 10:39 AM
Post #2


Head DIC Head

Group Icon
Joined: 17 Mar, 2001
Posts: 14,423



Thanked 33 times

Dream Kudos: 1650

Expert In: Web Development

My Contributions


I run Munin on the DIC servers and it graphs the network interface usage:

http://www.dreamincode.net/munin

User is offlineProfile CardPM

Go to the top of the page

baavgai
post 5 Mar, 2008 - 12:10 PM
Post #3


Dreaming Coder

Group Icon
Joined: 16 Oct, 2007
Posts: 1,526



Thanked 41 times

Dream Kudos: 325

Expert In: C, C++, Java, C#, ASP.NET, PHP, Perl, Python, Oracle, SQL Server, MySql, HTML, JavaScript, Lua

My Contributions


QUOTE(skyhawk133 @ 5 Mar, 2008 - 12:39 PM) *

I run Munin on the DIC servers and it graphs the network interface usage:


Cool, I didn't know that monitored more than just web traffic. I like the name, it would be amusing if they made a Hugin that was intrusion detection or something; no such luck.
User is offlineProfile CardPM

Go to the top of the page

girasquid
post 5 Mar, 2008 - 01:02 PM
Post #4


Barbarbar

Group Icon
Joined: 3 Oct, 2006
Posts: 1,146



Thanked 6 times

Dream Kudos: 625
My Contributions


QUOTE(skyhawk133 @ 5 Mar, 2008 - 10:39 AM) *

I run Munin on the DIC servers and it graphs the network interface usage:

http://www.dreamincode.net/munin


Munin looks pretty interesting, and I'll have to take a look at it.

At the core of it, what I'm looking for is a setup that will show me the overall bandwidth used by the box in it's entirety - and then have breakdowns based on which virtualhost used what.
User is offlineProfile CardPM

Go to the top of the page

no2pencil
post 5 Mar, 2008 - 02:34 PM
Post #5


Wet D.I.C.

Group Icon
Joined: 10 May, 2007
Posts: 4,823



Thanked 25 times

Dream Kudos: 2325

Expert In: Goofing Off

My Contributions


Boo-yah! Free-BSD Ports...
User is online!Profile CardPM

Go to the top of the page

MorphiusFaydal
post 5 Mar, 2008 - 06:00 PM
Post #6


D.I.C Addict

Group Icon
Joined: 12 May, 2005
Posts: 974



Thanked 3 times

Expert In: Hardware, Networking

My Contributions


Gentoo Portage.
User is offlineProfile CardPM

Go to the top of the page

MarkoDaGeek
post 6 Mar, 2008 - 12:14 PM
Post #7


Dirty Technophile

Group Icon
Joined: 13 Oct, 2001
Posts: 10,784



Thanked 1 times

Dream Kudos: 970

Expert In: Computer Networking, Web Development, Blogging

My Contributions


Is this a Windows server?

At my work we run Paessler Router Traffic Grapher (otherwise known as PRTG Traffic Grapher) to monitor our fiber circuits.

You can check that out at http://www.paessler.com/prtg
User is offlineProfile CardPM

Go to the top of the page

girasquid
post 6 Mar, 2008 - 01:23 PM
Post #8


Barbarbar

Group Icon
Joined: 3 Oct, 2006
Posts: 1,146



Thanked 6 times

Dream Kudos: 625
My Contributions


Sorry, this is a Ubuntu server.

I've settled on using awstats to parse the Apache access logs, and the ProFTPd logs, to give me an estimate on the total bandwidth used.
User is offlineProfile CardPM

Go to the top of the page

skaoth
post 7 Mar, 2008 - 01:00 PM
Post #9


D.I.C Regular

Group Icon
Joined: 7 Nov, 2007
Posts: 319



Thanked 5 times

Dream Kudos: 100
My Contributions


I may be a little late but what I've used in the past is Cacti. http://www.cacti.net/
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 8/28/08 08:47PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month