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.htmlReceived on Tue Dec 12 2000 - 15:47:49 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:56 MST