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 -

Reply via email to