Re: Peer twiddling

From: Andres Kroonmaa <andre@dont-contact.us>
Date: Thu, 13 Sep 2001 14:46:14 +0200

 SNMP-write is the word in ISP world.

 snmpset squid-box peer.peername.peerport=enable

On 13 Sep 2001, at 1:01, Adrian Chadd <adrian@squid-cache.org> wrote:

> Hi guys,
>
> I've had some requests by ISPs to enable a method of twiddling the
> peer configuration without restarting squid. This is so an external
> program can change various bits of the peer's configuration.
>
> The current quick modification simply enables/disables a given
> peer via an internal URL (/squid-internal-peer/peername:peerport/enable
> or .../disable), but later on down the track a few other things
> might be twiddled (eg peer weights, default parent status.)
>
> I've thrown it into the 'peertwiddle' branch on sourceforge.
> The patch is pretty simple in itself, but I'm curious to know if
> anyone can suggest a better way of implementing it.
>
> I'd like for this to eventually find its way into squid-HEAD
> and squid-2.4.
>
> (The diff URL is http://squid.sourceforge.net/cgi-bin/diff/peertwiddle)
>
> Thanks!
>
>
>
> Adrian
>

------------------------------------
 Andres Kroonmaa <andre@online.ee>
 CTO, Microlink Online
 Tel: 6501 731, Fax: 6501 725
 Pärnu mnt. 158, Tallinn,
 11317 Estonia
Received on Thu Sep 13 2001 - 06:52:59 MDT

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