Re: SNMP support starts on branch squid3-ipv6 !! [improved]

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 26 Nov 2007 00:32:52 +0100

On sön, 2007-11-25 at 18:48 +0100, Rafael Martinez Torres wrote:

> Yes , I knew. For the time beeing, I'm only trying to reach the point on Squid
> 3 for the same funcionality on Squid 2, even with the wrong IP indexing
> schema

Squid-2 has both kinds of indexes for peers, and the IP based is planned
to go away at some point in time, or at least not included in a
snmpwalk.. (named OLDcachePeerEntry for the time beeing).

As index the position in squid.conf is used. Simple, but is a slight
problem if one removes peers in the middle..

I see no good reason why the same index mistake should be repeated for
IPv6.

        OLDcachePeerEntry OBJECT-TYPE
                SYNTAX CachePeerEntry
                MAX-ACCESS not-accessible
                STATUS current
                DESCRIPTION
                        " An entry in cachePeerTable "
                INDEX { cachePeerAddr }
        ::= { cachePeerTable 1 }

        cachePeerEntry OBJECT-TYPE
                SYNTAX CachePeerEntry
                MAX-ACCESS not-accessible
                STATUS current
                DESCRIPTION
                        " An entry in cachePeerTable "
                INDEX { cachePeerIndex }
        ::= { cachePeerTable 2 }

Hmm.. should update the description.. should say what the index is..
done..

                        " cache_peer indexed by IP address "
                        " cache_peer indexed by position in squid.conf "

Regards
Henrik

Received on Sun Nov 25 2007 - 16:32:57 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:05 MST