Welcome to Dream.In.Code
Become an Expert!

Join 136,944 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,863 people online right now. Registration is fast and FREE... Join Now!




Bandwidth monitoring?

 
Reply to this topicStart new topic

Bandwidth monitoring?

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

Barbarbar
Group Icon

Joined: 3 Oct, 2006
Posts: 1,267



Thanked: 14 times
Dream Kudos: 650
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
+Quote Post

skyhawk133
RE: Bandwidth Monitoring?
5 Mar, 2008 - 09:39 AM
Post #2

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 14,964



Thanked: 48 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
+Quote Post

baavgai
RE: Bandwidth Monitoring?
5 Mar, 2008 - 11:10 AM
Post #3

Dreaming Coder
Group Icon

Joined: 16 Oct, 2007
Posts: 2,042



Thanked: 106 times
Dream Kudos: 475
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
+Quote Post

girasquid
RE: Bandwidth Monitoring?
5 Mar, 2008 - 12:02 PM
Post #4

Barbarbar
Group Icon

Joined: 3 Oct, 2006
Posts: 1,267



Thanked: 14 times
Dream Kudos: 650
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
+Quote Post

no2pencil
RE: Bandwidth Monitoring?
5 Mar, 2008 - 01:34 PM
Post #5

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 6,495



Thanked: 66 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
Boo-yah! Free-BSD Ports...
User is online!Profile CardPM
+Quote Post

MorphiusFaydal
RE: Bandwidth Monitoring?
5 Mar, 2008 - 05:00 PM
Post #6

D.I.C Lover
Group Icon

Joined: 12 May, 2005
Posts: 1,112



Thanked: 9 times
Expert In: Hardware, Networking

My Contributions
Gentoo Portage.
User is online!Profile CardPM
+Quote Post

MarkoDaGeek
RE: Bandwidth Monitoring?
6 Mar, 2008 - 11:14 AM
Post #7

Dirty Technophile
Group Icon

Joined: 13 Oct, 2001
Posts: 10,906



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
+Quote Post

girasquid
RE: Bandwidth Monitoring?
6 Mar, 2008 - 12:23 PM
Post #8

Barbarbar
Group Icon

Joined: 3 Oct, 2006
Posts: 1,267



Thanked: 14 times
Dream Kudos: 650
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
+Quote Post

skaoth
RE: Bandwidth Monitoring?
7 Mar, 2008 - 12:00 PM
Post #9

D.I.C Regular
Group Icon

Joined: 7 Nov, 2007
Posts: 344



Thanked: 10 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
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/3/08 11:11PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month