I'd suggest you extend the key to allow it to include an IP to get the network and individual stats as well..
but it's fine as it is.. On mån, 2008-06-16 at 22:49 +0800, Adrian Chadd wrote: > Patch against Squid-2.HEAD: > > http://www.creative.net.au/diffs/20080716-delay_snmp-1.diff > > > > Adrian > > On Mon, Jun 16, 2008, Adrian Chadd wrote: > > Here's a snippet from my aggregate-level delay pools SNMP stats work: > > > > [EMAIL PROTECTED]:~/work/squid/sf/delay_snmp/src$ snmpwalk -M > > /usr/share/snmp/mibs/:. -m ALL -v 1 -c public 127.0.0.1:3401 > > cacheDelayPoolSummaryTable > > SQUID-MIB::cacheDelayPoolIndex.1 = INTEGER: 1 > > SQUID-MIB::cacheDelayPoolIndex.2 = INTEGER: 2 > > SQUID-MIB::cacheDelayPoolId.1 = INTEGER: 1 > > SQUID-MIB::cacheDelayPoolId.2 = INTEGER: 2 > > SQUID-MIB::cacheDelayPoolClass.1 = INTEGER: 1 > > SQUID-MIB::cacheDelayPoolClass.2 = INTEGER: 2 > > SQUID-MIB::cacheDelayPoolAggregate.1 = Gauge32: 8000 > > SQUID-MIB::cacheDelayPoolAggregate.2 = Gauge32: 0 > > SQUID-MIB::cacheDelayPoolAggregateBytes.1 = Counter32: 0 > > SQUID-MIB::cacheDelayPoolAggregateBytes.2 = Counter32: 0 > > SQUID-MIB::cacheDelayPoolAggregateMax.1 = Gauge32: 8000 > > SQUID-MIB::cacheDelayPoolAggregateMax.2 = Gauge32: 255 > > SQUID-MIB::cacheDelayPoolAggregateRestore.1 = Gauge32: 8000 > > SQUID-MIB::cacheDelayPoolAggregateRestore.2 = Gauge32: 255 > > End of MIB > > > > The work is in the SF branch "delay_snmp". I'd like to commit this to > > Squid-2.HEAD > > in a few days if noone has an issue with the code. > > > > (Gah, the SNMP code is evil!) > > > > > > > > > > Adrian > > > > -- > > - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid > > Support - > > - $25/pm entry-level VPSes w/ capped bandwidth charges available in WA - >
signature.asc
Description: This is a digitally signed message part
