RE: [SQU] Bandwidth Usage Notification

From: William Wishon <bill.wishon@dont-contact.us>
Date: Tue, 12 Dec 2000 14:59:57 -0800

Actually what I need is programmatic access to the current bandwidth usage.

The SNMP support provided by squid seems to be enough for what I need. My
server will poll the squid cache occasionally to see what the current usage
is. If it turns out that I need more frequent access or that I want a push
model where the squid cache notifies my I will look in to this again, but
for now I have a solution. Reading up on SNMP is my next task, from what I
can tell so far there might even be a way to get squid to send me a message
when certain conditions are met using SNMP.

Thanks,
Bill

-----Original Message-----
From: Mark Worsdall [mailto:squid@wizdom.org.uk]
Sent: Tuesday, December 12, 2000 2:43 PM
To: squid-users@ircache.net
Subject: Re: [SQU] Bandwidth Usage Notification

What about some code to send a smb message assuming winpop is running.

In message <03c501c063d5$6455c3a0$d3620a0a@megared.net.mx>, Alejandro A.
Ramirez <ales@megared.net.mx> writes
>Hi William,
>
>You can do it with mrtg, besides graphing your bandwith, it has some
>features to send mail when the bandwith crosses some user defined
>parameters.
>
>Greetings...
>Ales
>
>----- Original Message -----
>From: "William Wishon" <bill.wishon@pictureiq.com>
>To: <squid-users@ircache.net>
>Sent: Monday, December 11, 2000 5:20 PM
>Subject: [SQU] Bandwidth Usage Notification
>
>
>> Hi,
>> Is there any way to have squid notify an external program when it's
>> bandwidth usage crosses certain boundaries?
>>
>> My problem,
>> I want to use squid as an httpd accelerator where the server it is
>> accelerating wants to know about the current bandwidth usage. The delay
>> pools seem almost like what I want, but instead of delaying the users
>> request when the bucket is empty I would just like squid to tell my
>program
>> about the fact that the bucket is now empty. That way if I were to set
up
>> buckets with the limits of 128K 256K and 512K I would get notified when
>> bandwidth usage crosses those boundaries. I'm about to dive into the
>source
>> to find the place to hook myself in, but I just wanted to see if anyone
>had
>> any ideas on this.
>> I had thought of putting a little bandwidth monitoring tool in front of
>> squid that measures bandwidth on the interface and port that squid is
>> listening on, but I thought that would have too much negative impact on
>> performance. And since squid with delay-pools on is already keeping
track
>> of bandwidth I thought I would start there.
>>
>> Thanks for any advice / thoughts,
>> Bill Wishon
>>
>> --
>> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>
>
>--
>To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>

--
He came from Econet - Oh no, I've run out of underpants :(
Home:- jaydee@wizdom.org.uk       http://www.wizdom.org.uk
Shadow:- webmaster@shadow.org.uk  http://www.shadow.org.uk
Work:- netman@hinwick.demon.co.uk http://www.hinwick.demon.co.uk
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Dec 12 2000 - 16:05:08 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:56 MST