Koozali.org: home of the SME Server

Monitoring Bandwidth use based on IP

Offline abasel

  • ***
  • 74
  • +0/-0
Monitoring Bandwidth use based on IP
« on: August 10, 2010, 09:33:11 AM »
My ultimate goal is to issue users with a monthly bandwidth quota (based on a username) but until I get round to trying something like Chilli Hotspot, I would simply like to log internet traffic used by a particular IP i.e. bandwidth use. What tool can I use on my SME server to achieve this?

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Monitoring Bandwidth use based on IP
« Reply #1 on: August 10, 2010, 09:44:29 AM »
if you are using squid (i.e. SMe is your httpd proxy), you can use Sarg

Offline abasel

  • ***
  • 74
  • +0/-0
Re: Monitoring Bandwidth use based on IP
« Reply #2 on: August 10, 2010, 10:05:42 AM »
I checked and Proxy was enabled so I  then ran

Quote
yum --enablerepo=smecontribs install smeserver-sarg

as in the Contribs but I got
Quote
No package smeserver-sarg available.

Would this be because I am using "SME Server 8.0beta5"

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Monitoring Bandwidth use based on IP
« Reply #3 on: August 10, 2010, 10:20:21 AM »
please read here and retry

Offline abasel

  • ***
  • 74
  • +0/-0
Re: Monitoring Bandwidth use based on IP
« Reply #4 on: August 10, 2010, 10:41:11 AM »
Thanks... don't appear to be ready yet.

Cheers

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Monitoring Bandwidth use based on IP
« Reply #5 on: August 10, 2010, 10:42:03 AM »
Would this be because I am using "SME Server 8.0beta5"
Moving to General Discussion where it is more appropriate. Please adhere to forum rules and do not post SME Server 8 related questions in SME Server 7.x related forums. Thanks in advance.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Re: Monitoring Bandwidth use based on IP
« Reply #6 on: August 12, 2010, 02:01:06 AM »
Thanks... don't appear to be ready yet.

It works, just wasn't added to the list

Offline abasel

  • ***
  • 74
  • +0/-0
Re: Monitoring Bandwidth use based on IP
« Reply #7 on: August 16, 2010, 08:29:50 PM »
Hi.. I'm probably a little confused but I tried the command again and it still said not package available.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Monitoring Bandwidth use based on IP
« Reply #8 on: August 16, 2010, 08:50:07 PM »
if you are using squid (i.e. SMe is your httpd proxy), you can use Sarg

Note however that that will not monitor all bandwidth used - only http/https/ftp transfers which occur via squid.

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Monitoring Bandwidth use based on IP
« Reply #9 on: August 16, 2010, 09:23:40 PM »
Note however that that will not monitor all bandwidth used - only http/https/ftp transfers which occur via squid.

you're right

for the OP: you could take a look at ipfm

NOTE: I've not tested ipfm, just found it with google right now