Re: delay pools snmp stats

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Tue, 17 Jun 2008 00:19:31 +0200

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:
> >
> > adrian_at_rachelle:~/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 -
>

Received on Mon Jun 16 2008 - 22:19:37 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 17 2008 - 12:00:04 MDT