Re: [squid-users] bandwidth monitoring

From: Tek Bahadur Limbu <teklimbu@dont-contact.us>
Date: Wed, 23 May 2007 12:25:14 +0545

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 23 May 2007 09:20:40 +0500
"Munawar Zeeshan" <zmunawar@gmail.com> wrote:

> Hi
>
> I am using sarg for viewing individual user's network connection made
> through squid, but the problem is that sarg only shows the volume of
> data downloaded.It doesnt shows the data being uploaded thrugh my
> server.
>
> I also want to monitor the amount of uploaded data by individual user
> through linux box by individual user.
>
> What software should i use?? MRTG doesnt seems to serve the purpose.It
> shows the total amount of uploaded and downloaded data, not the data
> uploaded/downloaded by individual users

Hi Munawar,

If you want to limit bandwidth to individual users based on IP addresses, you can put a Linux HTB bandwidth shaper in front of your squid proxy or in the proxy itself.

See:
http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm

When used with IPTABLES, you can shape the bandwidth of individuals. Then you can use MRTG to generate individuals graphs.

The shaping mechanisms seems to be quite hard to grasp (I'm still learning it) but it works wonderfully if implemented properly.

However, Squid delay-pools might also solve your problem. Regarding individuals MRTG delay-pool graphs, I think that it can be done but I have never implemented it.

See the Squid FAQs on delay-pools.

Thanking you...

>
> --
> Munawar Zeeshan
> Islamabad,Pakistan
> +92-300-514-6886
> +92-321-535-4851
>

- --

With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal

http://www.wlink.com.np
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFGU+HOVrOl+eVhOvYRAs3kAJ9tD+AEfvFVnhk8ptc0UGyvhzIXYQCghR9F
sQhrGzmRDgkvzbAbG+Qx2ss=
=cc/d
-----END PGP SIGNATURE-----
Received on Wed May 23 2007 - 00:40:38 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:05 MDT